Skip to content

Instantly share code, notes, and snippets.

@esnya
Last active November 25, 2020 02:57
Show Gist options
  • Save esnya/61b2280e2cba4156ab84c42cf67e8937 to your computer and use it in GitHub Desktop.
Save esnya/61b2280e2cba4156ab84c42cf67e8937 to your computer and use it in GitHub Desktop.
%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: SimpleToggle
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: c75fc2d128a93fd42ae92fb8c847aab3,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export state\r\n .export sync\r\n .export
targetObject\r\n \r\n Boolean_0: %SystemBoolean, null\r\n Boolean_1:
%SystemBoolean, null\r\n Boolean_2: %SystemBoolean, null\r\n Boolean_3:
%SystemBoolean, null\r\n obj_0: %UnityEngineGameObject, this\r\n instance_1:
%VRCUdonUdonBehaviour, this\r\n target_0: %VRCUdonCommonInterfacesNetworkEventTarget,
null\r\n eventName_0: %SystemString, null\r\n Boolean_4: %SystemBoolean,
null\r\n Boolean_5: %SystemBoolean, null\r\n Boolean_6: %SystemBoolean,
null\r\n Boolean_7: %SystemBoolean, null\r\n Boolean_8: %SystemBoolean,
null\r\n instance_2: %VRCUdonUdonBehaviour, this\r\n target_1: %VRCUdonCommonInterfacesNetworkEventTarget,
null\r\n eventName_1: %SystemString, null\r\n instance_3: %VRCUdonUdonBehaviour,
this\r\n target_2: %VRCUdonCommonInterfacesNetworkEventTarget, null\r\n eventName_2:
%SystemString, null\r\n Boolean_9: %SystemBoolean, null\r\n obj_1: %UnityEngineGameObject,
this\r\n instance_0: %UnityEngineGameObject, this\r\n value_0: %SystemBoolean,
null\r\n state: %SystemBoolean, null\r\n sync: %SystemBoolean, null\r\n
\ targetObject: %UnityEngineGameObject, this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n
\ .export _start\r\n \r\n _start:\r\n \r\n PUSH, sync\r\n PUSH,
Boolean_1\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n
\ PUSH, obj_0\r\n PUSH, Boolean_2\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n
\ PUSH, Boolean_1\r\n PUSH, Boolean_2\r\n PUSH, Boolean_0\r\n
\ EXTERN, \"SystemBoolean.__op_ConditionalOr__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n
\ PUSH, Boolean_0\r\n JUMP_IF_FALSE, 0x00000094\r\n PUSH,
targetObject\r\n PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n
\ PUSH, state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0x000000B4\r\n PUSH, instance_1\r\n PUSH, target_0\r\n
\ PUSH, eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n
\ JUMP, 0xFFFFFFFC\r\n \r\n .export Activate\r\n \r\n Activate:\r\n
\ \r\n PUSH, Boolean_4\r\n PUSH, state\r\n COPY\r\n PUSH,
state\r\n PUSH, state\r\n COPY\r\n PUSH, targetObject\r\n
\ PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n PUSH,
state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0xFFFFFFFC\r\n \r\n .export Deactivate\r\n \r\n Deactivate:\r\n
\ \r\n PUSH, Boolean_5\r\n PUSH, state\r\n COPY\r\n PUSH,
state\r\n PUSH, state\r\n COPY\r\n PUSH, targetObject\r\n
\ PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n PUSH,
state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0xFFFFFFFC\r\n \r\n .export _interact\r\n \r\n _interact:\r\n
\ \r\n PUSH, state\r\n PUSH, state\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n
\ PUSH, state\r\n PUSH, state\r\n COPY\r\n PUSH, sync\r\n
\ JUMP_IF_FALSE, 0x000002B0\r\n PUSH, state\r\n JUMP_IF_FALSE,
0x00000244\r\n PUSH, instance_2\r\n PUSH, target_1\r\n PUSH,
eventName_1\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n
\ PUSH, obj_1\r\n PUSH, Boolean_9\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n
\ PUSH, Boolean_9\r\n JUMP_IF_FALSE, 0x0000023C\r\n PUSH,
targetObject\r\n PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n
\ PUSH, state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0x0000023C\r\n JUMP, 0x000002A8\r\n PUSH, instance_3\r\n
\ PUSH, target_2\r\n PUSH, eventName_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n
\ PUSH, Boolean_9\r\n JUMP_IF_FALSE, 0x000002A8\r\n PUSH,
targetObject\r\n PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n
\ PUSH, state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0x000002A8\r\n JUMP, 0x000002DC\r\n PUSH, targetObject\r\n
\ PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n PUSH,
state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0xFFFFFFFC\r\n \r\n .export RequestSync\r\n \r\n RequestSync:\r\n
\ \r\n PUSH, state\r\n JUMP_IF_FALSE, 0x00000360\r\n PUSH,
instance_2\r\n PUSH, target_1\r\n PUSH, eventName_1\r\n EXTERN,
\"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n
\ PUSH, Boolean_9\r\n JUMP_IF_FALSE, 0x00000358\r\n PUSH,
targetObject\r\n PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n
\ PUSH, state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0x00000358\r\n JUMP, 0x000003C4\r\n PUSH, instance_3\r\n
\ PUSH, target_2\r\n PUSH, eventName_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n
\ PUSH, Boolean_9\r\n JUMP_IF_FALSE, 0x000003C4\r\n PUSH,
targetObject\r\n PUSH, instance_0\r\n COPY\r\n PUSH, instance_0\r\n
\ PUSH, state\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0x000003C4\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Variable_SystemBoolean
uid: 42890e1c-77dc-4fa5-8709-0c0fa8409995
position: {x: -2343.5, y: -693}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|state
- 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|none
- fullName: Set_Variable
uid: 375f7c34-a65c-4705-b88b-df0636b7fa73
position: {x: 1199.2087, y: 484.77032}
nodeUIDs:
-
- 161c447c-9a7d-46fe-960a-e9c006605f22|0
flowUIDs:
- 6fe30bbe-e071-4f28-8bd3-d23eedf31c23
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|42890e1c-77dc-4fa5-8709-0c0fa8409995
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: 49fe23a3-be21-4495-a77a-460bb7c30d33
position: {x: 710.69104, y: 461.184}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|42890e1c-77dc-4fa5-8709-0c0fa8409995
- fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean
uid: 161c447c-9a7d-46fe-960a-e9c006605f22
position: {x: 906.24524, y: 461.52365}
nodeUIDs:
- 49fe23a3-be21-4495-a77a-460bb7c30d33|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: ff586c31-c7af-40c0-8320-fcc47c293cf0
position: {x: 3364.962, y: 1280.8301}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|42890e1c-77dc-4fa5-8709-0c0fa8409995
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 463438f2-7a93-421a-97c1-a83c7fc98629
position: {x: 3626.7078, y: 1084.6106}
nodeUIDs:
- 4bdf4a94-7b59-4275-9009-9604e61f4e7c|0
- ff586c31-c7af-40c0-8320-fcc47c293cf0|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_Start
uid: 8786b6fc-32a0-41c3-bba9-d57a66429839
position: {x: 1609.0447, y: 1112.5898}
nodeUIDs: []
flowUIDs:
- 210c5495-0f26-4e90-a048-bc967fd8c653
nodeValues: []
- fullName: Set_Variable
uid: 50e026fc-b4fe-4cae-aa91-81b7266eab64
position: {x: 2649.5344, y: 720.7865}
nodeUIDs:
-
- b6c86b24-37ef-471c-ac15-177bf0777cd7|0
flowUIDs:
- 463438f2-7a93-421a-97c1-a83c7fc98629
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|42890e1c-77dc-4fa5-8709-0c0fa8409995
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|True
- fullName: Event_Custom
uid: 41ec97f8-023a-449d-b941-ff49c8aa5467
position: {x: 2412.8848, y: 717.2365}
nodeUIDs:
-
flowUIDs:
- 50e026fc-b4fe-4cae-aa91-81b7266eab64
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Activate
- fullName: Set_Variable
uid: bd81adec-4d43-431f-81d9-d9cdf42fded5
position: {x: 3125.326, y: 692.552}
nodeUIDs:
-
- ff995c43-7fad-40d1-b035-ad91f1811927|0
flowUIDs:
- 463438f2-7a93-421a-97c1-a83c7fc98629
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|42890e1c-77dc-4fa5-8709-0c0fa8409995
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: Event_Custom
uid: c32d5ed2-e385-4e3a-9e64-5dd55f0eea3b
position: {x: 2875.326, y: 687.552}
nodeUIDs:
-
flowUIDs:
- bd81adec-4d43-431f-81d9-d9cdf42fded5
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Deactivate
- fullName: Event_Interact
uid: 3a12e8e5-ec1a-4ed7-aa7b-cac6c0958ea3
position: {x: 1066.2708, y: 252.27548}
nodeUIDs: []
flowUIDs:
- 375f7c34-a65c-4705-b88b-df0636b7fa73
nodeValues: []
- fullName: Get_Variable
uid: 8db59995-6424-4084-a801-65b0f59d277f
position: {x: 1837.1156, y: 521.21967}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|42890e1c-77dc-4fa5-8709-0c0fa8409995
- fullName: Branch
uid: 262d79ef-4a3f-4be2-aa80-60f81d4245e8
position: {x: 1996.5704, y: 326.43253}
nodeUIDs:
- 8db59995-6424-4084-a801-65b0f59d277f|0
flowUIDs:
- e4dc8fca-9019-4e4b-9ad8-a3c60deb173b
- 1afd4255-843e-4c76-ab32-02de2b7f540d
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid
uid: e4dc8fca-9019-4e4b-9ad8-a3c60deb173b
position: {x: 2243.3735, y: 263.48242}
nodeUIDs:
-
-
-
flowUIDs:
- c882b5ba-a935-4482-8815-7ef9d063c8a2
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|All
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Activate
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid
uid: 1afd4255-843e-4c76-ab32-02de2b7f540d
position: {x: 2230.4731, y: 431.6309}
nodeUIDs:
-
-
-
flowUIDs:
- c882b5ba-a935-4482-8815-7ef9d063c8a2
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|All
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Deactivate
- fullName: Variable_SystemBoolean
uid: 49abf5b6-76b7-472e-a7c1-efa72a6dffb7
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|sync
- 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|none
- fullName: Branch
uid: 210c5495-0f26-4e90-a048-bc967fd8c653
position: {x: 2129.9468, y: 1152.0771}
nodeUIDs:
- 8cf4ac68-705a-43b0-8ad2-9603c05bd8ac|0
flowUIDs:
- 463438f2-7a93-421a-97c1-a83c7fc98629
- 9a2193f6-d710-4de7-a98d-f8d26a536f14
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: 1d6667c3-65b3-4fc7-bd75-ff1975c4bff6
position: {x: 1446.9934, y: 1263.1001}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|49abf5b6-76b7-472e-a7c1-efa72a6dffb7
- fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean
uid: f5e971f8-b869-42f3-bfa1-2c487dffa3d4
position: {x: 1638.6244, y: 1249.4124}
nodeUIDs:
- 1d6667c3-65b3-4fc7-bd75-ff1975c4bff6|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: SystemBoolean.__op_ConditionalOr__SystemBoolean_SystemBoolean__SystemBoolean
uid: 8cf4ac68-705a-43b0-8ad2-9603c05bd8ac
position: {x: 1904.7773, y: 1248.0134}
nodeUIDs:
- f5e971f8-b869-42f3-bfa1-2c487dffa3d4|0
- 977ac208-d0bb-4f81-93b5-410aa82228a7|0
flowUIDs: []
nodeValues:
- 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
- fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean
uid: 977ac208-d0bb-4f81-93b5-410aa82228a7
position: {x: 1640.1451, y: 1358.6664}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid
uid: 9a2193f6-d710-4de7-a98d-f8d26a536f14
position: {x: 2455.414, y: 1316.4524}
nodeUIDs:
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|Owner
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|RequestSync
- fullName: Event_Custom
uid: 0b18e7b7-357b-45e6-92d0-d446e23c16ab
position: {x: 1535.2294, y: 75.78914}
nodeUIDs:
-
flowUIDs:
- 262d79ef-4a3f-4be2-aa80-60f81d4245e8
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|RequestSync
- fullName: Branch
uid: 6fe30bbe-e071-4f28-8bd3-d23eedf31c23
position: {x: 1430.3711, y: 629.4902}
nodeUIDs:
- 29ded934-6aa2-4a0b-8886-db99739f530d|0
flowUIDs:
- 262d79ef-4a3f-4be2-aa80-60f81d4245e8
- 463438f2-7a93-421a-97c1-a83c7fc98629
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: 29ded934-6aa2-4a0b-8886-db99739f530d
position: {x: 1140.0615, y: 823.0287}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|49abf5b6-76b7-472e-a7c1-efa72a6dffb7
- fullName: Variable_UnityEngineGameObject
uid: fda1e08f-2037-450d-a336-4d0e18d15834
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|targetObject
- 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|none
- fullName: Get_Variable
uid: 4bdf4a94-7b59-4275-9009-9604e61f4e7c
position: {x: 3336.1624, y: 1161.5693}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda1e08f-2037-450d-a336-4d0e18d15834
- fullName: Branch
uid: c882b5ba-a935-4482-8815-7ef9d063c8a2
position: {x: 2845.5786, y: 395.43155}
nodeUIDs:
- d0f2181d-ffef-471b-a4fc-2d197c71b0a6|0
flowUIDs:
- 463438f2-7a93-421a-97c1-a83c7fc98629
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean
uid: d0f2181d-ffef-471b-a4fc-2d197c71b0a6
position: {x: 2556.0776, y: 515.0316}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Const_SystemBoolean
uid: b6c86b24-37ef-471c-ac15-177bf0777cd7
position: {x: 2478.4775, y: 804.6058}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|True
- fullName: Const_SystemBoolean
uid: ff995c43-7fad-40d1-b035-ad91f1811927
position: {x: 2916.6274, y: 771.2556}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
graphElementData:
- type: 2
uid: 128cbc05-156b-442c-9df2-ecfcacc83cad
jsonData: '{"uid":"128cbc05-156b-442c-9df2-ecfcacc83cad","layout":{"serializedVersion":"2","x":694.7648315429688,"y":366.52178955078127,"width":888.0,"height":404.0},"containedElements":["49fe23a3-be21-4495-a77a-460bb7c30d33","161c447c-9a7d-46fe-960a-e9c006605f22","375f7c34-a65c-4705-b88b-df0636b7fa73","6fe30bbe-e071-4f28-8bd3-d23eedf31c23","29ded934-6aa2-4a0b-8886-db99739f530d"],"title":"Toggle
State","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 2
uid: 3816de90-f0a0-404d-b46e-caa5d6425897
jsonData: '{"uid":"3816de90-f0a0-404d-b46e-caa5d6425897","layout":{"serializedVersion":"2","x":3311.162841796875,"y":1020.6105346679688,"width":488.0,"height":368.0},"containedElements":["463438f2-7a93-421a-97c1-a83c7fc98629","6d4c244a-7895-46c7-be09-d25b4899ade4","ff586c31-c7af-40c0-8320-fcc47c293cf0","4bdf4a94-7b59-4275-9009-9604e61f4e7c"],"title":"Apply
State","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 2
uid: baccaf34-3a58-469f-aed0-32da54a33b7d
jsonData: '{"uid":"baccaf34-3a58-469f-aed0-32da54a33b7d","layout":{"serializedVersion":"2","x":2387.884765625,"y":653.236572265625,"width":431.0,"height":259.0},"containedElements":["41ec97f8-023a-449d-b941-ff49c8aa5467","50e026fc-b4fe-4cae-aa91-81b7266eab64","b6c86b24-37ef-471c-ac15-177bf0777cd7"],"title":"Activate","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 2
uid: 5bd31043-3a2d-44d4-aa40-f6e4211d1b0f
jsonData: '{"uid":"5bd31043-3a2d-44d4-aa40-f6e4211d1b0f","layout":{"serializedVersion":"2","x":2850.326171875,"y":623.552001953125,"width":444.0,"height":256.0},"containedElements":["c32d5ed2-e385-4e3a-9e64-5dd55f0eea3b","bd81adec-4d43-431f-81d9-d9cdf42fded5","ff995c43-7fad-40d1-b035-ad91f1811927"],"title":"Deactivate","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 2
uid: c9c862fa-18c1-4368-be04-5692f1d3e314
jsonData: '{"uid":"c9c862fa-18c1-4368-be04-5692f1d3e314","layout":{"serializedVersion":"2","x":1793.7154541015625,"y":199.48240661621095,"width":1220.0,"height":446.0},"containedElements":["8db59995-6424-4084-a801-65b0f59d277f","262d79ef-4a3f-4be2-aa80-60f81d4245e8","e4dc8fca-9019-4e4b-9ad8-a3c60deb173b","1afd4255-843e-4c76-ab32-02de2b7f540d","c882b5ba-a935-4482-8815-7ef9d063c8a2","d0f2181d-ffef-471b-a4fc-2d197c71b0a6"],"title":"Sync","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 2
uid: 78ff72ff-f342-4fc3-a6a7-6db7d5908253
jsonData: '{"uid":"78ff72ff-f342-4fc3-a6a7-6db7d5908253","layout":{"serializedVersion":"2","x":1421.9935302734375,"y":1048.58984375,"width":1332.0,"height":448.0},"containedElements":["8786b6fc-32a0-41c3-bba9-d57a66429839","210c5495-0f26-4e90-a048-bc967fd8c653","1d6667c3-65b3-4fc7-bd75-ff1975c4bff6","f5e971f8-b869-42f3-bfa1-2c487dffa3d4","8cf4ac68-705a-43b0-8ad2-9603c05bd8ac","977ac208-d0bb-4f81-93b5-410aa82228a7","9a2193f6-d710-4de7-a98d-f8d26a536f14"],"title":"Initialize","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 5
uid: cc86aa49-2a3f-4448-8d25-83afa17bb481
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":92.0,"y":131.0,"width":128.0,"height":226.0}}'
- type: 4
uid: 6f376d6c-f3d7-4c2e-915f-fb045b6269ee
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}'
viewTransform:
position: {x: 298.57117, y: 65.77985}
scale: 0.8695652
version: 1.0.0
showAssembly: 1
.data_start
.export state
.export sync
.export targetObject
Boolean_0: %SystemBoolean, null
Boolean_1: %SystemBoolean, null
Boolean_2: %SystemBoolean, null
Boolean_3: %SystemBoolean, null
obj_0: %UnityEngineGameObject, this
instance_1: %VRCUdonUdonBehaviour, this
target_0: %VRCUdonCommonInterfacesNetworkEventTarget, null
eventName_0: %SystemString, null
Boolean_4: %SystemBoolean, null
Boolean_5: %SystemBoolean, null
Boolean_6: %SystemBoolean, null
Boolean_7: %SystemBoolean, null
Boolean_8: %SystemBoolean, null
instance_2: %VRCUdonUdonBehaviour, this
target_1: %VRCUdonCommonInterfacesNetworkEventTarget, null
eventName_1: %SystemString, null
instance_3: %VRCUdonUdonBehaviour, this
target_2: %VRCUdonCommonInterfacesNetworkEventTarget, null
eventName_2: %SystemString, null
Boolean_9: %SystemBoolean, null
obj_1: %UnityEngineGameObject, this
instance_0: %UnityEngineGameObject, this
value_0: %SystemBoolean, null
state: %SystemBoolean, null
sync: %SystemBoolean, null
targetObject: %UnityEngineGameObject, this
.data_end
.code_start
.export _start
_start:
PUSH, sync
PUSH, Boolean_1
EXTERN, "SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean"
PUSH, obj_0
PUSH, Boolean_2
EXTERN, "VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean"
PUSH, Boolean_1
PUSH, Boolean_2
PUSH, Boolean_0
EXTERN, "SystemBoolean.__op_ConditionalOr__SystemBoolean_SystemBoolean__SystemBoolean"
PUSH, Boolean_0
JUMP_IF_FALSE, 0x00000094
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0x000000B4
PUSH, instance_1
PUSH, target_0
PUSH, eventName_0
EXTERN, "VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid"
JUMP, 0xFFFFFFFC
.export Activate
Activate:
PUSH, Boolean_4
PUSH, state
COPY
PUSH, state
PUSH, state
COPY
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0xFFFFFFFC
.export Deactivate
Deactivate:
PUSH, Boolean_5
PUSH, state
COPY
PUSH, state
PUSH, state
COPY
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0xFFFFFFFC
.export _interact
_interact:
PUSH, state
PUSH, state
EXTERN, "SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean"
PUSH, state
PUSH, state
COPY
PUSH, sync
JUMP_IF_FALSE, 0x000002B0
PUSH, state
JUMP_IF_FALSE, 0x00000244
PUSH, instance_2
PUSH, target_1
PUSH, eventName_1
EXTERN, "VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid"
PUSH, obj_1
PUSH, Boolean_9
EXTERN, "VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean"
PUSH, Boolean_9
JUMP_IF_FALSE, 0x0000023C
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0x0000023C
JUMP, 0x000002A8
PUSH, instance_3
PUSH, target_2
PUSH, eventName_2
EXTERN, "VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid"
PUSH, Boolean_9
JUMP_IF_FALSE, 0x000002A8
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0x000002A8
JUMP, 0x000002DC
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0xFFFFFFFC
.export RequestSync
RequestSync:
PUSH, state
JUMP_IF_FALSE, 0x00000360
PUSH, instance_2
PUSH, target_1
PUSH, eventName_1
EXTERN, "VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid"
PUSH, Boolean_9
JUMP_IF_FALSE, 0x00000358
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0x00000358
JUMP, 0x000003C4
PUSH, instance_3
PUSH, target_2
PUSH, eventName_2
EXTERN, "VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid"
PUSH, Boolean_9
JUMP_IF_FALSE, 0x000003C4
PUSH, targetObject
PUSH, instance_0
COPY
PUSH, instance_0
PUSH, state
EXTERN, "UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid"
JUMP, 0x000003C4
JUMP, 0xFFFFFFFC
.code_end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment