这是第一个 Unity 开放项目的repo,是 Unity 和社区合作创建的一个小型开源游戏演示,第一款游戏是一款名为 Chop Chop 的动作冒险游戏。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

871 行
20 KiB

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "4d2bfc23af3b4e3fb2d35995c45f11d4",
"m_Properties": [
{
"m_Id": "6e5c7333db69dd8c9119611c4a13ed3b"
},
{
"m_Id": "f9929a5db31b3f80a6b4607b9546fefb"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "36225396f9740082b40c1964472e68e9"
},
{
"m_Id": "a2e1e12e5cfa2b8692297bef6499aa57"
},
{
"m_Id": "e3aaa8b75bb447828cf87b62b8828557"
},
{
"m_Id": "e2b9e127b3c88284833f5b0264762361"
},
{
"m_Id": "549833118d670b899c135cbe3006ff49"
},
{
"m_Id": "df1e12e097b22a848d92e649b86add2a"
},
{
"m_Id": "bbd067493315d380958f4e39f89ffdaa"
},
{
"m_Id": "42d04024b822bc8d89ec7f4ba83301f6"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42d04024b822bc8d89ec7f4ba83301f6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a2e1e12e5cfa2b8692297bef6499aa57"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "549833118d670b899c135cbe3006ff49"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "df1e12e097b22a848d92e649b86add2a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a2e1e12e5cfa2b8692297bef6499aa57"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "549833118d670b899c135cbe3006ff49"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bbd067493315d380958f4e39f89ffdaa"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "df1e12e097b22a848d92e649b86add2a"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "df1e12e097b22a848d92e649b86add2a"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "36225396f9740082b40c1964472e68e9"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e2b9e127b3c88284833f5b0264762361"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "549833118d670b899c135cbe3006ff49"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e3aaa8b75bb447828cf87b62b8828557"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e2b9e127b3c88284833f5b0264762361"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": -310.0,
"y": 130.99996948242188
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": -310.0,
"y": 330.9999694824219
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "36225396f9740082b40c1964472e68e9"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0552d76cdc77518ba0df44a6cccda805",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1607518cf7aef0878e11c34e66770d9a",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "16c481c51522668b886682251cb3f9dc",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionMaterialSlot",
"m_ObjectId": "1b9981e65d309689984d2b24fa4d1055",
"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,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": [],
"m_ScreenSpaceType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "1bbed18c876a928188271e790862bd4d",
"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.SubGraphOutputNode",
"m_ObjectId": "36225396f9740082b40c1964472e68e9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -310.0,
"y": 130.99996948242188,
"width": 138.0,
"height": 77.00000762939453
}
},
"m_Slots": [
{
"m_Id": "66df7c4c79a57b8189c2728d3c81d6dc"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3c5fad3197d7d68cb0927394d78107db",
"m_Id": 1,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "42d04024b822bc8d89ec7f4ba83301f6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1258.0,
"y": 173.0,
"width": 131.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "e628fb76cb8cdd8bb266fd3b8f0563e7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f9929a5db31b3f80a6b4607b9546fefb"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "434a806bf0481e81aedca3f4d7eaceb3",
"m_Id": 2,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "4f82ea8ec0a1508fbefc3f615ad647fb",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "549833118d670b899c135cbe3006ff49",
"m_Group": {
"m_Id": ""
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -724.0000610351563,
"y": 133.0,
"width": 134.00001525878907,
"height": 118.00000762939453
}
},
"m_Slots": [
{
"m_Id": "16c481c51522668b886682251cb3f9dc"
},
{
"m_Id": "4f82ea8ec0a1508fbefc3f615ad647fb"
},
{
"m_Id": "434a806bf0481e81aedca3f4d7eaceb3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "66df7c4c79a57b8189c2728d3c81d6dc",
"m_Id": 1,
"m_DisplayName": "Out_Vector4",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector4",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "6e5c7333db69dd8c9119611c4a13ed3b",
"m_Guid": {
"m_GuidSerialized": "f3555b1d-7b05-42fd-bb83-91c5659b7085"
},
"m_Name": "Distance",
"m_DefaultReferenceName": "Vector1_43C126B0",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "724dcc659f563f828cf0af71cb223123",
"m_Id": 4,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "7d26b1b82104138d9acad36e2e5b9555",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "85530f6c33451084bed3ec32a5d61f36",
"m_Id": 2,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SceneDepthNode",
"m_ObjectId": "a2e1e12e5cfa2b8692297bef6499aa57",
"m_Group": {
"m_Id": ""
},
"m_Name": "Scene Depth",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1072.9998779296875,
"y": 133.99996948242188,
"width": 145.0,
"height": 110.99999237060547
}
},
"m_Slots": [
{
"m_Id": "1b9981e65d309689984d2b24fa4d1055"
},
{
"m_Id": "1607518cf7aef0878e11c34e66770d9a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_DepthSamplingMode": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "bbd067493315d380958f4e39f89ffdaa",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -700.0000610351563,
"y": 273.0000305175781,
"width": 126.00000762939453,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ddca7ec17549c883a20074715b95207e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6e5c7333db69dd8c9119611c4a13ed3b"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c88cb6af6f69e68aad636f8babd9ea4f",
"m_Id": 2,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ddca7ec17549c883a20074715b95207e",
"m_Id": 0,
"m_DisplayName": "Distance",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "df1e12e097b22a848d92e649b86add2a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -508.0,
"y": 134.0,
"width": 134.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "7d26b1b82104138d9acad36e2e5b9555"
},
{
"m_Id": "e6a7ebf3984617849b61502460495098"
},
{
"m_Id": "c88cb6af6f69e68aad636f8babd9ea4f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SplitNode",
"m_ObjectId": "e2b9e127b3c88284833f5b0264762361",
"m_Group": {
"m_Id": ""
},
"m_Name": "Split",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -891.9998779296875,
"y": 272.9999694824219,
"width": 125.99999237060547,
"height": 76.99999237060547
}
},
"m_Slots": [
{
"m_Id": "0552d76cdc77518ba0df44a6cccda805"
},
{
"m_Id": "3c5fad3197d7d68cb0927394d78107db"
},
{
"m_Id": "85530f6c33451084bed3ec32a5d61f36"
},
{
"m_Id": "f9561ecefea38588b3fc2cf613b01364"
},
{
"m_Id": "724dcc659f563f828cf0af71cb223123"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
"m_ObjectId": "e3aaa8b75bb447828cf87b62b8828557",
"m_Group": {
"m_Id": ""
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1084.0,
"y": 272.0,
"width": 156.99998474121095,
"height": 127.99999237060547
}
},
"m_Slots": [
{
"m_Id": "1bbed18c876a928188271e790862bd4d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "e628fb76cb8cdd8bb266fd3b8f0563e7",
"m_Id": 0,
"m_DisplayName": "Scene UV",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "e6a7ebf3984617849b61502460495098",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 2.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f9561ecefea38588b3fc2cf613b01364",
"m_Id": 3,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "f9929a5db31b3f80a6b4607b9546fefb",
"m_Guid": {
"m_GuidSerialized": "28703bdd-21a5-4105-9956-6e9da1ca913f"
},
"m_Name": "Scene UV",
"m_DefaultReferenceName": "Vector4_CD9FE2E2",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}