%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3} m_Name: CustomSwitchV1 m_EditorClassIdentifier: m_functionInfo: "// Made with Amplify Shader Editor\n// Available at the Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=18935\n-2553;96;2560;1283;2006;581.5;1;True;True\nNode;AmplifyShaderEditor.TextureCoordinatesNode;3;-1019,205.5;Inherit;False;2;-1;4;3;2;SAMPLER2D;;False;0;FLOAT2;1,1;False;1;FLOAT2;0,0;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.RangedFloatNode;8;-1145,-299.5;Inherit;False;Constant;_Float0;Float 0;0;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.TextureCoordinatesNode;1;-1020,-165.5;Inherit;False;0;-1;4;3;2;SAMPLER2D;;False;0;FLOAT2;1,1;False;1;FLOAT2;0,0;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.FunctionInput;7;-958,-299.5;Inherit;False;Num;1;0;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TextureCoordinatesNode;2;-1020,20.5;Inherit;False;1;-1;4;3;2;SAMPLER2D;;False;0;FLOAT2;1,1;False;1;FLOAT2;0,0;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.CustomExpressionNode;5;-674,-56.5;Inherit;False;$ if(Num==0)${$F= 0@$}$else if(Num==1)${$F=c1x@$}$else if(Num==2)${$F=c1y@$}$else if(Num==3)${$F= c1z@$}$else if(Num==4)${$F= c1w@$}$else if(Num==5)${$F=c2x@$}$else if(Num==6)${$F= c2y@$}$else if(Num==7)${$F=c2z@$}$else if(Num==8)${$F= c2w@$}$$return 0@;1;Create;10;True;Num;FLOAT;0;In;;Inherit;False;True;c1x;FLOAT;0;In;;Inherit;False;True;c1y;FLOAT;0;In;;Inherit;False;True;c1z;FLOAT;0;In;;Inherit;False;True;c1w;FLOAT;0;In;;Inherit;False;True;c2x;FLOAT;0;In;;Inherit;False;True;c2y;FLOAT;0;In;;Inherit;False;True;c2z;FLOAT;0;In;;Inherit;False;True;c2w;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;Out;;Float;False;CustomChanelSwitch;True;False;1;-1;;False;10;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;9;FLOAT;0;False;2;FLOAT;0;FLOAT;10\nNode;AmplifyShaderEditor.FunctionOutput;0;-389,-49;Inherit;False;True;-1;Output;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;7;0;8;0\nWireConnection;5;0;7;0\nWireConnection;5;1;1;3\nWireConnection;5;2;1;4\nWireConnection;5;3;2;1\nWireConnection;5;4;2;2\nWireConnection;5;5;2;3\nWireConnection;5;6;2;4\nWireConnection;5;7;3;1\nWireConnection;5;8;3;2\nWireConnection;0;0;5;10\nASEEND*/\n//CHKSM=CC4D6920D530D394C82000BBCB8FEF8B6B8E9787" m_functionName: m_description: m_additionalIncludes: m_additionalIncludes: [] m_outsideIncludes: [] m_additionalPragmas: m_additionalPragmas: [] m_outsidePragmas: [] m_additionalDirectives: m_validData: 0 m_isDirty: 0 m_moduleName: ' Additional Directives' m_independentModule: 1 m_customEdited: 0 m_additionalDirectives: [] m_shaderFunctionDirectives: [] m_nativeDirectives: [] m_nativeDirectivesIndex: -1 m_nativeDirectivesFoldout: 0 m_directivesSaveItems: [] m_nodeCategory: 3 m_customNodeCategory: m_previewPosition: 0 m_hidden: 0 m_url: