Files
Continentis/Assets/OtherPlugins/Sprite Shaders Ultimate/ASE/_Generic/SheetAnimation.asset
SoulliesOfficial ad4948207e 推进度!
2025-11-25 21:49:03 -05:00

52 lines
3.4 KiB
Plaintext

%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: SheetAnimation
m_EditorClassIdentifier:
m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.8\n// Available at the
Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19108\nNode;AmplifyShaderEditor.Vector2Node;11;-555.323,110.853;Inherit;False;Constant;_DefaultInvert;Default
Invert;0;0;Create;True;0;0;0;False;0;False;0,1;0,0;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.FunctionInput;1;-1014.596,-394.1184;Inherit;False;In
UV;2;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleRemainderNode;5;-863.5958,-389.1184;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;1,1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;6;-705.5958,-390.1184;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;1,1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleRemainderNode;7;-567.5949,-390.1184;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;1,1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.FunctionInput;3;-539,-116.5;Inherit;False;Rows;0;2;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;4;-541,-6.5;Inherit;False;Frame;1;3;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;2;-557.4998,-232.6091;Inherit;False;Columns;0;1;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;72.5803,-318.1217;Inherit;False;True;-1;Out
UV;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.CustomExpressionNode;10;-209.8725,-313.6122;Inherit;False;Tile
= fmod(Tile + 0.001, Width * Height)@$float2 tileCount = float2(1, 1) / float2(Width,
Height)@$float tileY = abs(Invert.y * Height - (floor(Tile * tileCount.x) + Invert.y
* 1))@$ float tileX = abs(Invert.x * Width - ((Tile - Width * floor(Tile * tileCount.x))
+ Invert.x * 1))@$return (UV + float2(tileX, tileY)) * tileCount@;2;Create;5;True;UV;FLOAT2;0,0;In;;Inherit;False;True;Width;INT;0;In;;Inherit;False;True;Height;INT;0;In;;Inherit;False;True;Tile;FLOAT;0;In;;Inherit;False;True;Invert;FLOAT2;0,1;In;;Inherit;False;My
Custom Expression;True;False;0;;False;5;0;FLOAT2;0,0;False;1;INT;0;False;2;INT;0;False;3;FLOAT;0;False;4;FLOAT2;0,1;False;1;FLOAT2;0\nWireConnection;5;0;1;0\nWireConnection;6;0;5;0\nWireConnection;7;0;6;0\nWireConnection;0;0;10;0\nWireConnection;10;0;7;0\nWireConnection;10;1;2;0\nWireConnection;10;2;3;0\nWireConnection;10;3;4;0\nWireConnection;10;4;11;0\nASEEND*/\n//CHKSM=A3EB37B76670F429D53608BABDFD764B1673B734"
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_headerStyle: 0
m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
m_customNodeCategory:
m_previewPosition: 0
m_hidden: 0
m_url: