summaryrefslogtreecommitdiff
path: root/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset
diff options
context:
space:
mode:
Diffstat (limited to 'VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset')
-rw-r--r--VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset118
1 files changed, 118 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset
new file mode 100644
index 00000000..44e57c97
--- /dev/null
+++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset
@@ -0,0 +1,118 @@
+%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: SetActiveFromPlayerTrigger
+ m_EditorClassIdentifier:
+ serializedUdonProgramAsset: {fileID: 11400000, guid: 9bb840190a7989a4697a4f8e244f210f,
+ type: 2}
+ udonAssembly: ".data_start\r\n\r\n .export target\r\n \r\n __instance_0:
+ %UnityEngineGameObject, this\r\n __value_0: %SystemBoolean, null\r\n __instance_1:
+ %UnityEngineGameObject, this\r\n __value_1: %SystemBoolean, null\r\n target:
+ %UnityEngineGameObject, this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export
+ _onPlayerTriggerExit\r\n \r\n _onPlayerTriggerExit:\r\n \r\n
+ PUSH, target\r\n PUSH, __instance_0\r\n COPY\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 .export _onPlayerTriggerEnter\r\n \r\n
+ _onPlayerTriggerEnter:\r\n \r\n PUSH, target\r\n PUSH, __instance_1\r\n
+ COPY\r\n PUSH, __instance_1\r\n PUSH, __value_1\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: Event_OnPlayerTriggerExit
+ uid: 040bb012-fc7f-489b-afa4-57fc11ad8052
+ position: {x: 320, y: 440}
+ nodeUIDs: []
+ flowUIDs:
+ - 6614772a-aea3-48d9-8261-c72c18dd274a
+ nodeValues: []
+ - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
+ uid: 6614772a-aea3-48d9-8261-c72c18dd274a
+ position: {x: 640, y: 380}
+ nodeUIDs:
+ - 8bb20615-88bf-46cc-a263-e7b5c9367e29|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: Variable_UnityEngineGameObject
+ uid: 3fb6803a-a687-408c-a8e5-a072e37f73e3
+ 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|target
+ - 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: 8bb20615-88bf-46cc-a263-e7b5c9367e29
+ position: {x: 390, y: 320}
+ nodeUIDs:
+ -
+ flowUIDs: []
+ nodeValues:
+ - unityObjectValue: {fileID: 0}
+ stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3fb6803a-a687-408c-a8e5-a072e37f73e3
+ - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
+ uid: 96776b8b-c82d-45ce-8713-390da3598a5b
+ position: {x: 640, y: 250}
+ nodeUIDs:
+ - 8bb20615-88bf-46cc-a263-e7b5c9367e29|0
+ -
+ flowUIDs: []
+ nodeValues:
+ - unityObjectValue: {fileID: 0}
+ stringValue:
+ - unityObjectValue: {fileID: 0}
+ stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
+ PublicKeyToken=b77a5c561934e089|True
+ - fullName: Event_OnPlayerTriggerEnter
+ uid: c84e9827-1e9f-4674-bd3c-324fdc478d9c
+ position: {x: 310, y: 180}
+ nodeUIDs: []
+ flowUIDs:
+ - 96776b8b-c82d-45ce-8713-390da3598a5b
+ nodeValues: []
+ updateOrder: 0
+ graphElementData:
+ - type: 5
+ uid: 33e589a0-94d3-4b5d-a4c1-06d38746d1d4
+ jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}'
+ - type: 4
+ uid: e11a3f1c-d6c7-4ac3-b9f6-f31e2ab0b189
+ jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}'
+ viewTransform:
+ position: {x: -64, y: 137}
+ scale: 1
+ version: 1.0.0
+ showAssembly: 0