Adaug proiectul Unity

This commit is contained in:
2026-11-01 23:39:55 +02:00
parent cb14d9d37d
commit 863eac8f2c
23463 changed files with 5412601 additions and 0 deletions
@@ -0,0 +1,494 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "9f9c83fdb8c34e0e8f80e7327bfa0ba5",
"m_Properties": [
{
"m_Id": "5ffe6e807c254d53a8d8d996ca13f84e"
},
{
"m_Id": "89b20efb0bb04dc9b0d855388c9fa803"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "62163e7a53984e1c9054505848a8cd0d"
}
],
"m_Nodes": [
{
"m_Id": "6364edad7b714d359902a484b8785b0b"
},
{
"m_Id": "1234e227bed3458cb06db236793dd352"
},
{
"m_Id": "8cc9f69b46cd41a492dfe0548e14a690"
},
{
"m_Id": "462354595cf44bd1be5dc75299df02af"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "9798afd276a5422db2f796d67734fea1"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1234e227bed3458cb06db236793dd352"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "462354595cf44bd1be5dc75299df02af"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "462354595cf44bd1be5dc75299df02af"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6364edad7b714d359902a484b8785b0b"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8cc9f69b46cd41a492dfe0548e14a690"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "462354595cf44bd1be5dc75299df02af"
},
"m_SlotId": 2
}
}
],
"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": "Input/UGUI",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "6364edad7b714d359902a484b8785b0b"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "1234e227bed3458cb06db236793dd352",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -206.0,
"y": -1.0,
"width": 135.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ac119df19c1a4ecdae320c37ee245354"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "89b20efb0bb04dc9b0d855388c9fa803"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3117fa35f84e497b949e38bfea6c499c",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "462354595cf44bd1be5dc75299df02af",
"m_Group": {
"m_Id": ""
},
"m_Name": "IsPreviewFloat (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -206.0,
"y": 33.0,
"width": 237.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "f0648228409a4229b0b32a6fd7cb61fa"
},
{
"m_Id": "a2c2e058828043e1a53df8c6b172dbda"
},
{
"m_Id": "d81b19a16d7b448c94ee57a370e6d7df"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "IsPreviewFloat",
"m_FunctionSource": "",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "#if defined(SHADERGRAPH_PREVIEW_MAIN) || defined(SHADERGRAPH_PREVIEW)\nOut = Preview;\n#else\nOut = Final;\n#endif\n"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "5ffe6e807c254d53a8d8d996ca13f84e",
"m_Guid": {
"m_GuidSerialized": "3da8ea4d-7749-407b-965b-ab3ca072dcc6"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Preview Value",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Preview Value",
"m_DefaultReferenceName": "_Preview_Value",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"hideConnector": true,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": 0.5,
"m_FloatType": 1,
"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.CategoryData",
"m_ObjectId": "62163e7a53984e1c9054505848a8cd0d",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "89b20efb0bb04dc9b0d855388c9fa803"
},
{
"m_Id": "5ffe6e807c254d53a8d8d996ca13f84e"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "6364edad7b714d359902a484b8785b0b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 31.0,
"y": 33.0,
"width": 86.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "3117fa35f84e497b949e38bfea6c499c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "89b20efb0bb04dc9b0d855388c9fa803",
"m_Guid": {
"m_GuidSerialized": "d6b92199-1a80-4d6f-bd09-5f741b592345"
},
"promotedFromAssetID": "90192633207f24dc0927e116d7564452",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "MeterValue",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "MeterValue",
"m_DefaultReferenceName": "_MeterValue",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": true,
"hlslDeclarationOverride": 2,
"hideConnector": false,
"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.PropertyNode",
"m_ObjectId": "8cc9f69b46cd41a492dfe0548e14a690",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -206.0,
"y": 151.0,
"width": 149.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "f9a90669c4654e86b9a33f2caeb6f1e9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "5ffe6e807c254d53a8d8d996ca13f84e"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "9798afd276a5422db2f796d67734fea1",
"m_Title": "Meter Value",
"m_Content": "This subgraph uses a Custom Function Node to switch between a hidden promoted property and a subgraph property with input port disabled used as the preview value.\n\nThis requires a Meter component on the element to feed the value.",
"m_TextSize": 0,
"m_Theme": 1,
"m_Position": {
"serializedVersion": "2",
"x": -453.0,
"y": 20.0,
"width": 200.0,
"height": 160.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a2c2e058828043e1a53df8c6b172dbda",
"m_Id": 2,
"m_DisplayName": "Preview",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Preview",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ac119df19c1a4ecdae320c37ee245354",
"m_Id": 0,
"m_DisplayName": "MeterValue",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": 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.Vector1MaterialSlot",
"m_ObjectId": "d81b19a16d7b448c94ee57a370e6d7df",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": 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.Vector1MaterialSlot",
"m_ObjectId": "f0648228409a4229b0b32a6fd7cb61fa",
"m_Id": 0,
"m_DisplayName": "Final",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Final",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f9a90669c4654e86b9a33f2caeb6f1e9",
"m_Id": 0,
"m_DisplayName": "Preview Value",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 90192633207f24dc0927e116d7564452
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
documentationPath:
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 41e92803bd4fa4bb29936cc9c1016fb2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
documentationPath:
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: aa041986c041b4dc1b5bf0b2cd2d86e8
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
documentationPath:
@@ -0,0 +1,656 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "50cfc4df60bd4dff81e295d28aaf3655",
"m_Properties": [
{
"m_Id": "265f1bebf86d48a9b32d46120b8a2f94"
}
],
"m_Keywords": [],
"m_Dropdowns": [
{
"m_Id": "c2427350574b408a9ee54692f066fb43"
}
],
"m_CategoryData": [
{
"m_Id": "cadd333478f44f6da751cb36dd44c6c8"
}
],
"m_Nodes": [
{
"m_Id": "92235385d3ac412baa7b5aa94487b951"
},
{
"m_Id": "31618709ebb34d7ab4452d56e83b263e"
},
{
"m_Id": "c8b0c5a408624255ad06500afd1d80fc"
},
{
"m_Id": "3d48137ddabd464d9380c9a5087740b7"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "908782b74acf4132821ab83df724057d"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "31618709ebb34d7ab4452d56e83b263e"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3d48137ddabd464d9380c9a5087740b7"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3d48137ddabd464d9380c9a5087740b7"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "92235385d3ac412baa7b5aa94487b951"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c8b0c5a408624255ad06500afd1d80fc"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3d48137ddabd464d9380c9a5087740b7"
},
"m_SlotId": 2
}
}
],
"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": "Input/UGUI",
"m_GraphPrecision": 1,
"m_PreviewMode": 1,
"m_OutputNode": {
"m_Id": "92235385d3ac412baa7b5aa94487b951"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "17f663ce65d04896876462d46e829226",
"m_Id": 5,
"m_DisplayName": "Selected",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Selected",
"m_StageCapability": 3,
"m_Value": {
"x": 3.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_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "21921afa7e5143e3a4aed64541998e76",
"m_Id": 1,
"m_DisplayName": "State",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "State",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "265f1bebf86d48a9b32d46120b8a2f94",
"m_Guid": {
"m_GuidSerialized": "0688cc2f-00bd-4f68-b297-894d722f0b4c"
},
"promotedFromAssetID": "9cc8eedec3988455885bdb12866a33d6",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "State",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "State",
"m_DefaultReferenceName": "_State",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": true,
"hlslDeclarationOverride": 2,
"hideConnector": false,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": 0.0,
"m_FloatType": 3,
"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": [
"Normal",
"Highlighted",
"Pressed",
"Selected",
"Disabled"
],
"m_EnumValues": [
0,
1,
2,
3,
4
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "31618709ebb34d7ab4452d56e83b263e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 219.0,
"width": 103.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "b77de99290914323b11ee25ef045fa89"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "265f1bebf86d48a9b32d46120b8a2f94"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "3d48137ddabd464d9380c9a5087740b7",
"m_Group": {
"m_Id": ""
},
"m_Name": "IsPreviewFloat (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 253.0,
"width": 209.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "93304cfd400342329d3a79073644b9f0"
},
{
"m_Id": "8b758b7f7b684e7282dca35d0ffe2919"
},
{
"m_Id": "5a79bb0f94e34194b85745a05ee29860"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "IsPreviewFloat",
"m_FunctionSource": "",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "#if defined(SHADERGRAPH_PREVIEW_MAIN) || defined(SHADERGRAPH_PREVIEW)\nOut = Preview;\n#else\nOut = Final;\n#endif\n"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5a79bb0f94e34194b85745a05ee29860",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": 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.DynamicVectorMaterialSlot",
"m_ObjectId": "80dbefee10e64c3fa6ea6b5caad46a43",
"m_Id": 4,
"m_DisplayName": "Pressed",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Pressed",
"m_StageCapability": 3,
"m_Value": {
"x": 2.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_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8b758b7f7b684e7282dca35d0ffe2919",
"m_Id": 2,
"m_DisplayName": "Preview",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Preview",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "908782b74acf4132821ab83df724057d",
"m_Title": "Selectable State",
"m_Content": "This subgraph uses a Custom Function Node to switch between a hidden promoted property and subgraph properties with input port disabled used as the preview values.\n\nThis requires one of the custom components (CustomButton, CustomSlider, CustomToggle) on the element to feed the value.",
"m_TextSize": 0,
"m_Theme": 1,
"m_Position": {
"serializedVersion": "2",
"x": -319.0,
"y": 101.0,
"width": 259.0,
"height": 137.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "92235385d3ac412baa7b5aa94487b951",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 237.00003051757813,
"y": 253.0,
"width": 85.99996948242188,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "21921afa7e5143e3a4aed64541998e76"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "93304cfd400342329d3a79073644b9f0",
"m_Id": 0,
"m_DisplayName": "Final",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Final",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "95d2ddb6938c4528a4f32e806d7e5e55",
"m_Id": 6,
"m_DisplayName": "Disabled",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Disabled",
"m_StageCapability": 3,
"m_Value": {
"x": 4.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_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "ad5a442221ef485388b42e303ff9014e",
"m_Id": 2,
"m_DisplayName": "Highlighted",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Highlighted",
"m_StageCapability": 3,
"m_Value": {
"x": 1.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_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b6c6cb12496a40f7be541f9d7151a58c",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": 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_LiteralMode": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b77de99290914323b11ee25ef045fa89",
"m_Id": 0,
"m_DisplayName": "State",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": 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.ShaderDropdown",
"m_ObjectId": "c2427350574b408a9ee54692f066fb43",
"m_Guid": {
"m_GuidSerialized": "0c74d9a9-3643-4486-b032-d8d60ffb56e7"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Preview",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Preview",
"m_DefaultReferenceName": "_Preview",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Entries": [
{
"id": 3,
"displayName": "Normal"
},
{
"id": 2,
"displayName": "Highlighted"
},
{
"id": 4,
"displayName": "Pressed"
},
{
"id": 5,
"displayName": "Selected"
},
{
"id": 6,
"displayName": "Disabled"
}
],
"m_Value": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c2d2665dcb8341b49512be75ce2580a7",
"m_Id": 3,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Normal",
"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_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DropdownNode",
"m_ObjectId": "c8b0c5a408624255ad06500afd1d80fc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Preview",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -230.0,
"y": 276.0,
"width": 178.0,
"height": 190.0
}
},
"m_Slots": [
{
"m_Id": "b6c6cb12496a40f7be541f9d7151a58c"
},
{
"m_Id": "c2d2665dcb8341b49512be75ce2580a7"
},
{
"m_Id": "ad5a442221ef485388b42e303ff9014e"
},
{
"m_Id": "80dbefee10e64c3fa6ea6b5caad46a43"
},
{
"m_Id": "17f663ce65d04896876462d46e829226"
},
{
"m_Id": "95d2ddb6938c4528a4f32e806d7e5e55"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Dropdown": {
"m_Id": "c2427350574b408a9ee54692f066fb43"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "cadd333478f44f6da751cb36dd44c6c8",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "265f1bebf86d48a9b32d46120b8a2f94"
},
{
"m_Id": "c2427350574b408a9ee54692f066fb43"
}
]
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9cc8eedec3988455885bdb12866a33d6
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
documentationPath:
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b674f75227b22477ca93a09e82cd33d2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
documentationPath:
@@ -0,0 +1,450 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "a92da9b814cf404f85ddbe3e7c40723d",
"m_Properties": [
{
"m_Id": "6a1e11891a0747379c6442655f6ecd2c"
},
{
"m_Id": "409c7cb5d8f344f3bfa3bf910701eabc"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "37243da13ef847258c57c945401da875"
}
],
"m_Nodes": [
{
"m_Id": "545a4b0865f1448b90b195b2a98149c4"
},
{
"m_Id": "659ee2636e7549319737788bd8f6eb9f"
},
{
"m_Id": "42f0f4edbabd4804bb2342db7e8abd4f"
},
{
"m_Id": "e8ab947e9b9e44b0bbaf4ae733360b91"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "069db23700974059b560db9dce6db235"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42f0f4edbabd4804bb2342db7e8abd4f"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "545a4b0865f1448b90b195b2a98149c4"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "659ee2636e7549319737788bd8f6eb9f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42f0f4edbabd4804bb2342db7e8abd4f"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e8ab947e9b9e44b0bbaf4ae733360b91"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42f0f4edbabd4804bb2342db7e8abd4f"
},
"m_SlotId": 2
}
}
],
"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": "Input/UGUI",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "545a4b0865f1448b90b195b2a98149c4"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "069db23700974059b560db9dce6db235",
"m_Title": "Toggle State",
"m_Content": "This subgraph uses a Custom Function Node to switch between a hidden promoted property and a subgraph property with input port disabled used as the preview value.\n\nThis requires one CustomToggle component on the element to feed the value.",
"m_TextSize": 0,
"m_Theme": 1,
"m_Position": {
"serializedVersion": "2",
"x": -462.0,
"y": 22.0,
"width": 259.0,
"height": 144.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "37243da13ef847258c57c945401da875",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "6a1e11891a0747379c6442655f6ecd2c"
},
{
"m_Id": "409c7cb5d8f344f3bfa3bf910701eabc"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "3f8bee3224d54693b26615a2aa0d1dea",
"m_Id": 2,
"m_DisplayName": "Preview",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Preview",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
"m_ObjectId": "409c7cb5d8f344f3bfa3bf910701eabc",
"m_Guid": {
"m_GuidSerialized": "33920d31-0cc5-4286-b412-4e36a6203057"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Preview Value",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Preview Value",
"m_DefaultReferenceName": "_Preview_Value",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"hideConnector": true,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "42f0f4edbabd4804bb2342db7e8abd4f",
"m_Group": {
"m_Id": ""
},
"m_Name": "IsPreviewBool (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -187.0,
"y": 27.000003814697267,
"width": 233.99998474121095,
"height": 117.99998474121094
}
},
"m_Slots": [
{
"m_Id": "ff99b2b0cb7440b2a8c76c9862d8378c"
},
{
"m_Id": "3f8bee3224d54693b26615a2aa0d1dea"
},
{
"m_Id": "94110943dbea4ba684f68b965724621f"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "IsPreviewBool",
"m_FunctionSource": "",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "#if defined(SHADERGRAPH_PREVIEW_MAIN) || defined(SHADERGRAPH_PREVIEW)\nOut = Preview;\n#else\nOut = Final;\n#endif\n"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "545a4b0865f1448b90b195b2a98149c4",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 46.99998092651367,
"y": 27.000003814697267,
"width": 86.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "7ba7bf52fd9b4c008d0e1e8e6e00ab29"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "659ee2636e7549319737788bd8f6eb9f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -187.0,
"y": -6.999997615814209,
"width": 101.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "7a879031327845b2838b5bbef00d9f9f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6a1e11891a0747379c6442655f6ecd2c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
"m_ObjectId": "6a1e11891a0747379c6442655f6ecd2c",
"m_Guid": {
"m_GuidSerialized": "35abcd06-4aa2-4bbc-ab03-eec0ee385257"
},
"promotedFromAssetID": "4f050eea90ae946c5a5a171b0df1d6a1",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "isOn",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "isOn",
"m_DefaultReferenceName": "_isOn",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": true,
"hlslDeclarationOverride": 2,
"hideConnector": false,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "7a879031327845b2838b5bbef00d9f9f",
"m_Id": 0,
"m_DisplayName": "isOn",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "7ba7bf52fd9b4c008d0e1e8e6e00ab29",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "94110943dbea4ba684f68b965724621f",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "b3d1eb1364ea4e81a1cefce2b2fcb247",
"m_Id": 0,
"m_DisplayName": "Preview Value",
"m_SlotType": 1,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "e8ab947e9b9e44b0bbaf4ae733360b91",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -186.99996948242188,
"y": 144.99996948242188,
"width": 150.99996948242188,
"height": 34.00001525878906
}
},
"m_Slots": [
{
"m_Id": "b3d1eb1364ea4e81a1cefce2b2fcb247"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "409c7cb5d8f344f3bfa3bf910701eabc"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "ff99b2b0cb7440b2a8c76c9862d8378c",
"m_Id": 0,
"m_DisplayName": "Final",
"m_SlotType": 0,
"m_Hidden": false,
"m_HideConnector": false,
"m_ShaderOutputName": "Final",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4f050eea90ae946c5a5a171b0df1d6a1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
documentationPath: