243 lines
9.7 KiB
Plaintext
243 lines
9.7 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: 4f11136daadff0b44ac2278a314682ab, type: 3}
|
|
m_Name: ChangeMaterialOnEvent
|
|
m_EditorClassIdentifier:
|
|
serializedUdonProgramAsset: {fileID: 11400000, guid: 79bcdd0d1b583404ab81fe21947278fa,
|
|
type: 2}
|
|
udonAssembly: ".data_start\r\n\r\n .export materials\r\n .export meshRenderer\r\n
|
|
\r\n __Int32_0: %SystemInt32, null\r\n __Int32_1: %SystemInt32, null\r\n
|
|
__Int32_2: %SystemInt32, null\r\n __Int32_3: %SystemInt32, null\r\n __instance_0:
|
|
%UnityEngineMaterialArray, null\r\n __instance_1: %UnityEngineMeshRenderer,
|
|
null\r\n __value_0: %UnityEngineMaterial, null\r\n __instance_2: %UnityEngineMaterialArray,
|
|
null\r\n __Int32_4: %SystemInt32, null\r\n materials: %UnityEngineMaterialArray,
|
|
null\r\n meshRenderer: %UnityEngineMeshRenderer, null\r\n materialIndex:
|
|
%SystemInt32, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export changeMaterial\r\n
|
|
\r\n changeMaterial:\r\n \r\n PUSH, materialIndex\r\n PUSH,
|
|
__Int32_3\r\n PUSH, __Int32_0\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n
|
|
PUSH, materials\r\n PUSH, __instance_0\r\n COPY\r\n PUSH,
|
|
__instance_0\r\n PUSH, __Int32_1\r\n EXTERN, \"UnityEngineMaterialArray.__get_Length__SystemInt32\"\r\n
|
|
PUSH, __Int32_0\r\n PUSH, __Int32_1\r\n PUSH, materialIndex\r\n
|
|
EXTERN, \"SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32\"\r\n
|
|
PUSH, meshRenderer\r\n PUSH, __instance_1\r\n COPY\r\n PUSH,
|
|
materials\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n
|
|
PUSH, materialIndex\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineMaterialArray.__Get__SystemInt32__UnityEngineMaterial\"\r\n
|
|
PUSH, __instance_1\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineMeshRenderer.__set_material__UnityEngineMaterial__SystemVoid\"\r\n
|
|
JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
|
|
assemblyError:
|
|
graphData:
|
|
name:
|
|
description:
|
|
nodes:
|
|
- fullName: Variable_UnityEngineMaterialArray
|
|
uid: fe8385e7-c2a1-4d82-8363-ee8de6d78be2
|
|
position: {x: 36, y: -204}
|
|
nodeUIDs:
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|materials
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|True
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Variable_UnityEngineMeshRenderer
|
|
uid: b63cb9da-6ee0-4c03-87c6-0d5f35513ee0
|
|
position: {x: -156, y: -204}
|
|
nodeUIDs:
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|meshRenderer
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|True
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: UnityEngineMeshRenderer.__set_material__UnityEngineMaterial__SystemVoid
|
|
uid: fbca1f82-f5e2-4547-a6d8-807a10e77cf5
|
|
position: {x: 1044, y: 312}
|
|
nodeUIDs:
|
|
- 0d68c6c1-ea12-4005-93ca-74d56e211008|0
|
|
- c5198e2b-92b1-496c-98e6-dd4c9e93d8c0|0
|
|
flowUIDs:
|
|
-
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Get_Variable
|
|
uid: 0d68c6c1-ea12-4005-93ca-74d56e211008
|
|
position: {x: 744, y: 300}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|b63cb9da-6ee0-4c03-87c6-0d5f35513ee0
|
|
- fullName: UnityEngineMaterialArray.__Get__SystemInt32__UnityEngineMaterial
|
|
uid: c5198e2b-92b1-496c-98e6-dd4c9e93d8c0
|
|
position: {x: 708, y: 408}
|
|
nodeUIDs:
|
|
- 6fb4681a-1e9b-4e7c-8002-2c8b8c9362d5|0
|
|
- 736cb6ee-2eab-4d86-ab58-74f6552a581f|0
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Get_Variable
|
|
uid: 6fb4681a-1e9b-4e7c-8002-2c8b8c9362d5
|
|
position: {x: 432, y: 396}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fe8385e7-c2a1-4d82-8363-ee8de6d78be2
|
|
- fullName: Variable_SystemInt32
|
|
uid: 992035b4-304a-4f9a-adbc-ac3998c80bec
|
|
position: {x: 228, y: -204}
|
|
nodeUIDs:
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|materialIndex
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Get_Variable
|
|
uid: 4eb4be4a-1ae2-4943-89e5-3796e7493543
|
|
position: {x: -156, y: 108}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|992035b4-304a-4f9a-adbc-ac3998c80bec
|
|
- fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32
|
|
uid: 8b77ded6-d1ce-4682-830a-61bb23a70b83
|
|
position: {x: 108, y: 108}
|
|
nodeUIDs:
|
|
- 4eb4be4a-1ae2-4943-89e5-3796e7493543|0
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1
|
|
- fullName: UnityEngineMaterialArray.__get_Length__SystemInt32
|
|
uid: c94dd94e-870c-4402-9e6e-6a8ab6ca1975
|
|
position: {x: 60, y: 252}
|
|
nodeUIDs:
|
|
- 3c51267b-e6de-4583-8843-a60e39eb7f34|0
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Get_Variable
|
|
uid: 3c51267b-e6de-4583-8843-a60e39eb7f34
|
|
position: {x: -192, y: 264}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fe8385e7-c2a1-4d82-8363-ee8de6d78be2
|
|
- fullName: Get_Variable
|
|
uid: 736cb6ee-2eab-4d86-ab58-74f6552a581f
|
|
position: {x: 432, y: 468}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|992035b4-304a-4f9a-adbc-ac3998c80bec
|
|
- fullName: SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32
|
|
uid: 280397ff-d044-4416-bc2f-ee26d30514e3
|
|
position: {x: 396, y: 132}
|
|
nodeUIDs:
|
|
- 8b77ded6-d1ce-4682-830a-61bb23a70b83|0
|
|
- c94dd94e-870c-4402-9e6e-6a8ab6ca1975|0
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Set_Variable
|
|
uid: 9d699e9a-b7cc-492d-ba94-432720eac3a3
|
|
position: {x: 708, y: 96}
|
|
nodeUIDs:
|
|
-
|
|
- 280397ff-d044-4416-bc2f-ee26d30514e3|0
|
|
flowUIDs:
|
|
- fbca1f82-f5e2-4547-a6d8-807a10e77cf5
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|992035b4-304a-4f9a-adbc-ac3998c80bec
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Event_Custom
|
|
uid: 2cef706c-572f-4ae7-b27b-016614d9ff04
|
|
position: {x: 456, y: 36}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs:
|
|
- 9d699e9a-b7cc-492d-ba94-432720eac3a3
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|changeMaterial
|
|
updateOrder: 0
|
|
graphElementData: []
|
|
viewTransform:
|
|
position: {x: 0, y: 0}
|
|
scale: 1
|
|
version: 1.0.0
|
|
showAssembly: 0
|