feat: Event & Teleporter

This commit is contained in:
2026-11-03 22:58:10 +01:00
parent a7e8ef1a1f
commit 9fd4e13d34
34 changed files with 5877 additions and 25 deletions

View File

@@ -0,0 +1,576 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "9d1e9ebe2d9747ffa894412dfba72a33",
"m_Properties": [
{
"m_Id": "a4404a0972384ad1b4438a72f39e7991"
},
{
"m_Id": "62c93e885ac547e4bba6e1c78f616037"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "bf2f39d82e934286ae4a5374c1fd2c11"
}
],
"m_Nodes": [
{
"m_Id": "cf35d42ff38940b281c6ce2c8551a1cb"
},
{
"m_Id": "49fc354b55884d1abb7603ae085af83b"
},
{
"m_Id": "984a27fbc926447f87cd710107f68787"
},
{
"m_Id": "cb1666b04adb496dab93487a150fe810"
},
{
"m_Id": "8df27a4c7fda4aad9ef4fb2ddfc7d4b2"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "49fc354b55884d1abb7603ae085af83b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "984a27fbc926447f87cd710107f68787"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8df27a4c7fda4aad9ef4fb2ddfc7d4b2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "984a27fbc926447f87cd710107f68787"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "984a27fbc926447f87cd710107f68787"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cf35d42ff38940b281c6ce2c8551a1cb"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cb1666b04adb496dab93487a150fe810"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "984a27fbc926447f87cd710107f68787"
},
"m_SlotId": 1
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "cf35d42ff38940b281c6ce2c8551a1cb"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "29f51427a77b4ebd8b35573100ab1e06",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
"m_ObjectId": "49fc354b55884d1abb7603ae085af83b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -361.0,
"y": 39.0,
"width": 208.0,
"height": 312.0
}
},
"m_Slots": [
{
"m_Id": "29f51427a77b4ebd8b35573100ab1e06"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "62100b5c2cdb420ea029c63cee7e388a",
"m_Id": 2,
"m_DisplayName": "Out_Vector3",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector3",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "62c93e885ac547e4bba6e1c78f616037",
"m_Guid": {
"m_GuidSerialized": "f6d871c3-eb20-4419-80ff-cb790122708e"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Quality",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Quality",
"m_DefaultReferenceName": "_Quality",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": 1.0,
"m_FloatType": 0,
"m_LiteralFloatMode": false,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
},
"m_SliderType": 0,
"m_SliderPower": 3.0,
"m_EnumType": 0,
"m_CSharpEnumString": "",
"m_EnumNames": [
"Default"
],
"m_EnumValues": [
0
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8ac0d8698d6f4355b69979a51fc1b149",
"m_Id": 0,
"m_DisplayName": "Quality",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "8df27a4c7fda4aad9ef4fb2ddfc7d4b2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -153.0,
"y": 204.0,
"width": 112.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "8ac0d8698d6f4355b69979a51fc1b149"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "62c93e885ac547e4bba6e1c78f616037"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "984a27fbc926447f87cd710107f68787",
"m_Group": {
"m_Id": ""
},
"m_Name": "Gaussian (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -11.999992370605469,
"y": 84.00000762939453,
"width": 206.00003051757813,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "c436f3daf0a148b684e2c91bdf25e93f"
},
{
"m_Id": "bb16fada7c80423abd415edd1ce3a4b6"
},
{
"m_Id": "c43f8eede482495c9425f224477cc565"
},
{
"m_Id": "9cb83bc7c5c046d2b3abca081e990cbc"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "Gaussian",
"m_FunctionSource": "90c8bd5f68510954a8e1367627d7b9fd",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9cb83bc7c5c046d2b3abca081e990cbc",
"m_Id": 3,
"m_DisplayName": "Quality",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Quality",
"m_StageCapability": 3,
"m_Value": 2.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "a4404a0972384ad1b4438a72f39e7991",
"m_Guid": {
"m_GuidSerialized": "8063cb26-80fc-4286-8ad3-84a319514638"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Blur",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Blur",
"m_DefaultReferenceName": "_Blur",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": 0.5,
"m_FloatType": 0,
"m_LiteralFloatMode": false,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
},
"m_SliderType": 0,
"m_SliderPower": 3.0,
"m_EnumType": 0,
"m_CSharpEnumString": "",
"m_EnumNames": [
"Default"
],
"m_EnumValues": [
0
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "bb16fada7c80423abd415edd1ce3a4b6",
"m_Id": 0,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "bf2f39d82e934286ae4a5374c1fd2c11",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "a4404a0972384ad1b4438a72f39e7991"
},
{
"m_Id": "62c93e885ac547e4bba6e1c78f616037"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c436f3daf0a148b684e2c91bdf25e93f",
"m_Id": 2,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c43f8eede482495c9425f224477cc565",
"m_Id": 1,
"m_DisplayName": "Blur",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Blur",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "cb1666b04adb496dab93487a150fe810",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -137.0,
"y": 161.0,
"width": 96.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "d8c308401ebb4d45aabcb025efd14753"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "a4404a0972384ad1b4438a72f39e7991"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "cf35d42ff38940b281c6ce2c8551a1cb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 252.0000457763672,
"y": 83.9999771118164,
"width": 119.00001525878906,
"height": 77.0000228881836
}
},
"m_Slots": [
{
"m_Id": "62100b5c2cdb420ea029c63cee7e388a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d8c308401ebb4d45aabcb025efd14753",
"m_Id": 0,
"m_DisplayName": "Blur",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}