diff options
Diffstat (limited to 'VRCSDK3Worlds/Assets/VRChat Examples/Prefabs/Prefabs_UdonProgramSources/ToggleGameObject.asset')
-rw-r--r-- | VRCSDK3Worlds/Assets/VRChat Examples/Prefabs/Prefabs_UdonProgramSources/ToggleGameObject.asset | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/Prefabs/Prefabs_UdonProgramSources/ToggleGameObject.asset b/VRCSDK3Worlds/Assets/VRChat Examples/Prefabs/Prefabs_UdonProgramSources/ToggleGameObject.asset new file mode 100644 index 00000000..631b74ea --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/Prefabs/Prefabs_UdonProgramSources/ToggleGameObject.asset @@ -0,0 +1,123 @@ +%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: ToggleGameObject + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 844343c135eb2114fb6df35f61fd4844, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export targetGameObject\r\n \r\n __instance_0: + %UnityEngineGameObject, this\r\n __value_0: %SystemBoolean, null\r\n __Boolean_0: + %SystemBoolean, null\r\n __instance_1: %UnityEngineGameObject, this\r\n + targetGameObject: %UnityEngineGameObject, this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export Toggle\r\n \r\n Toggle:\r\n \r\n PUSH, targetGameObject\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, targetGameObject\r\n + PUSH, __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n PUSH, + __Boolean_0\r\n EXTERN, \"UnityEngineGameObject.__get_activeSelf__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n PUSH, __value_0\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n + PUSH, __instance_0\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: 604be5e9-b0e2-4a90-bd63-ea3cda3a7e88 + position: {x: 460, y: -300} + nodeUIDs: + - 6e056de9-2b94-4e2d-8320-e7b012b1a18d|0 + - 2cd078cf-34ff-4a06-98ab-17fad6df8199|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Event_Custom + uid: b5959045-ee36-4e8c-93cf-935730cbb37e + position: {x: 250, y: -360} + nodeUIDs: + - + flowUIDs: + - 604be5e9-b0e2-4a90-bd63-ea3cda3a7e88 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Toggle + - fullName: Variable_UnityEngineGameObject + uid: 15ad195f-b5a0-48f1-83f8-6030d5087dd5 + position: {x: -168, y: -504} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|targetGameObject + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged + - fullName: Get_Variable + uid: 6e056de9-2b94-4e2d-8320-e7b012b1a18d + position: {x: -360, y: -270} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|15ad195f-b5a0-48f1-83f8-6030d5087dd5 + - fullName: UnityEngineGameObject.__get_activeSelf__SystemBoolean + uid: ec6184ef-19e2-4687-81b5-3383900abca1 + position: {x: 30, y: -70} + nodeUIDs: + - 6e056de9-2b94-4e2d-8320-e7b012b1a18d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean + uid: 2cd078cf-34ff-4a06-98ab-17fad6df8199 + position: {x: 200, y: -70} + nodeUIDs: + - ec6184ef-19e2-4687-81b5-3383900abca1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + updateOrder: 0 + graphElementData: + - type: 2 + uid: 35cb12b1-bd2f-4eba-a693-6e26a0fa05bd + jsonData: '{"uid":"35cb12b1-bd2f-4eba-a693-6e26a0fa05bd","layout":{"serializedVersion":"2","x":0.0,"y":-130.0,"width":558.0,"height":172.0},"containedElements":["2cd078cf-34ff-4a06-98ab-17fad6df8199","ec6184ef-19e2-4687-81b5-3383900abca1"],"title":"Unary + Negation just flips the value to its opposite","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: adb4168a-c2cf-41fc-a7d0-b0f765fa55d8 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":237.0,"height":149.0}}' + - type: 4 + uid: 660ed7e9-fdef-48a0-be18-1e45b935b733 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 417.54822, y: 729.8235} + scale: 1 + version: 1.0.0 + showAssembly: 0 |