TheStable/Assets/Scripts/Door/DoorOpen.asset
Jamie Greunbaum 5d6c2af9b8 - Added a way to enable a mirror, as is necessary for all VRChat worlds.
- Stable wall supports are now 4 inches instead of 2 inches.
2024-11-19 04:14:24 -05:00

414 lines
20 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: DoorOpen
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: f51560741b4a90d46afbdfc085d7d62e,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export DoorAnimator\r\n .export DoorIsOpen\r\n
.export OtherInteractor\r\n .sync DoorIsOpen, none\r\n \r\n __player_0:
%VRCSDKBaseVRCPlayerApi, null\r\n __obj_0: %UnityEngineGameObject, this\r\n
__instance_0: %VRCUdonUdonBehaviour, this\r\n __symbolName_0: %SystemString,
null\r\n __value_0: %SystemObject, null\r\n __Boolean_0: %SystemBoolean,
null\r\n __instance_1: %VRCUdonUdonBehaviour, this\r\n __instance_2: %UnityEngineAnimator,
null\r\n __name_0: %SystemString, null\r\n __value_1: %SystemBoolean, null\r\n
__Boolean_1: %SystemBoolean, null\r\n __Boolean_2: %SystemBoolean, null\r\n
__Boolean_3: %SystemBoolean, null\r\n __instance_3: %VRCUdonUdonBehaviour,
this\r\n __symbolName_1: %SystemString, null\r\n __instance_4: %VRCUdonUdonBehaviour,
this\r\n __symbolName_2: %SystemString, null\r\n __value_2: %SystemObject,
null\r\n __String_0: %SystemString, null\r\n __Boolean_4: %SystemBoolean,
null\r\n __name_1: %SystemString, null\r\n __instance_5: %VRCUdonUdonBehaviour,
this\r\n __value_3: %SystemString, null\r\n __instance_6: %VRCUdonUdonBehaviour,
this\r\n __value_4: %SystemString, null\r\n __instance_7: %UnityEngineAnimator,
null\r\n __name_2: %SystemString, null\r\n __value_5: %SystemBoolean, null\r\n
__Boolean_5: %SystemBoolean, null\r\n __Boolean_6: %SystemBoolean, null\r\n
__Boolean_7: %SystemBoolean, null\r\n __instance_8: %VRCUdonUdonBehaviour,
this\r\n __symbolName_3: %SystemString, null\r\n __instance_9: %VRCUdonUdonBehaviour,
this\r\n __symbolName_4: %SystemString, null\r\n __value_6: %SystemObject,
null\r\n __String_1: %SystemString, null\r\n __Boolean_8: %SystemBoolean,
null\r\n __name_3: %SystemString, null\r\n __instance_A: %VRCUdonUdonBehaviour,
this\r\n __value_7: %SystemString, null\r\n __instance_B: %VRCUdonUdonBehaviour,
this\r\n __value_8: %SystemString, null\r\n DoorAnimator: %UnityEngineAnimator,
null\r\n DoorIsOpen: %SystemBoolean, null\r\n OtherInteractor: %VRCUdonUdonBehaviour,
this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _interact\r\n
\r\n _interact:\r\n \r\n PUSH, __player_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n
PUSH, __player_0\r\n PUSH, __obj_0\r\n EXTERN, \"VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid\"\r\n
PUSH, DoorIsOpen\r\n PUSH, __value_0\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n
PUSH, __instance_0\r\n PUSH, __symbolName_0\r\n PUSH, __value_0\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n
PUSH, __instance_1\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n
JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_DoorIsOpen\r\n \r\n
_onVarChange_DoorIsOpen:\r\n \r\n PUSH, DoorAnimator\r\n PUSH,
__instance_2\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, __name_0\r\n
PUSH, DoorIsOpen\r\n EXTERN, \"UnityEngineAnimator.__SetBool__SystemString_SystemBoolean__SystemVoid\"\r\n
PUSH, OtherInteractor\r\n PUSH, __instance_3\r\n COPY\r\n
PUSH, __String_0\r\n PUSH, __symbolName_1\r\n COPY\r\n PUSH,
__instance_3\r\n PUSH, __symbolName_1\r\n PUSH, __Boolean_3\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__GetProgramVariable__SystemString__SystemObject\"\r\n
PUSH, DoorIsOpen\r\n PUSH, __Boolean_3\r\n PUSH, __Boolean_1\r\n
EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n
PUSH, __Boolean_1\r\n JUMP_IF_FALSE, 0x0000012C\r\n JUMP, 0x00000174\r\n
PUSH, OtherInteractor\r\n PUSH, __instance_4\r\n COPY\r\n
PUSH, __String_0\r\n PUSH, __symbolName_2\r\n COPY\r\n PUSH,
__instance_4\r\n PUSH, __symbolName_2\r\n PUSH, DoorIsOpen\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n
PUSH, DoorIsOpen\r\n JUMP_IF_FALSE, 0x000001A4\r\n PUSH, __instance_5\r\n
PUSH, __value_3\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__set_InteractionText__SystemString__SystemVoid\"\r\n
JUMP, 0x000001BC\r\n PUSH, __instance_6\r\n PUSH, __value_4\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__set_InteractionText__SystemString__SystemVoid\"\r\n
JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n \r\n _start:\r\n
\r\n PUSH, DoorAnimator\r\n PUSH, __instance_7\r\n COPY\r\n
PUSH, __instance_7\r\n PUSH, __name_2\r\n PUSH, DoorIsOpen\r\n
EXTERN, \"UnityEngineAnimator.__SetBool__SystemString_SystemBoolean__SystemVoid\"\r\n
PUSH, OtherInteractor\r\n PUSH, __instance_8\r\n COPY\r\n
PUSH, __String_1\r\n PUSH, __symbolName_3\r\n COPY\r\n PUSH,
__instance_8\r\n PUSH, __symbolName_3\r\n PUSH, __Boolean_7\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__GetProgramVariable__SystemString__SystemObject\"\r\n
PUSH, DoorIsOpen\r\n PUSH, __Boolean_7\r\n PUSH, __Boolean_5\r\n
EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n
PUSH, __Boolean_5\r\n JUMP_IF_FALSE, 0x00000278\r\n JUMP, 0x000002C0\r\n
PUSH, OtherInteractor\r\n PUSH, __instance_9\r\n COPY\r\n
PUSH, __String_1\r\n PUSH, __symbolName_4\r\n COPY\r\n PUSH,
__instance_9\r\n PUSH, __symbolName_4\r\n PUSH, DoorIsOpen\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n
PUSH, DoorIsOpen\r\n JUMP_IF_FALSE, 0x000002F0\r\n PUSH, __instance_A\r\n
PUSH, __value_7\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__set_InteractionText__SystemString__SystemVoid\"\r\n
JUMP, 0x00000308\r\n PUSH, __instance_B\r\n PUSH, __value_8\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__set_InteractionText__SystemString__SystemVoid\"\r\n
JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Variable_UnityEngineAnimator
uid: f3cbbf3d-403c-4e60-9281-50bac551df7f
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|DoorAnimator
- 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: Variable_SystemBoolean
uid: a0870f0d-681c-4824-b73a-3d2998f58400
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|DoorIsOpen
- 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|True
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: UnityEngineAnimator.__SetBool__SystemString_SystemBoolean__SystemVoid
uid: 962ade7c-ef0b-4854-b67b-11f2e77e05df
position: {x: 1164.66, y: 428.82062}
nodeUIDs:
- 4071c200-8d0b-4363-ab09-a7e44b557b30|0
-
- 0c9c4702-879a-48c8-968e-52baf8ae16f8|0
flowUIDs:
- 3835f0c5-44c8-42d7-b81c-9cef6493c7d3
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Door
Is Open
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: 4071c200-8d0b-4363-ab09-a7e44b557b30
position: {x: 766.7276, y: 504.14313}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f3cbbf3d-403c-4e60-9281-50bac551df7f
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Set_Variable
uid: 01742e9a-6c43-4467-93be-6e5339ed6df3
position: {x: 699.29517, y: -3.774058}
nodeUIDs:
-
- e774d82c-8d48-45fa-a3bd-0a2d26702563|0
-
flowUIDs:
- 2435ef4c-897a-42dd-80c1-d31f7ff7f5cb
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a0870f0d-681c-4824-b73a-3d2998f58400
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- fullName: Get_Variable
uid: aabbcebf-3206-4432-97de-9789140f5af2
position: {x: 247.29503, y: 173.22595}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a0870f0d-681c-4824-b73a-3d2998f58400
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean
uid: e774d82c-8d48-45fa-a3bd-0a2d26702563
position: {x: 418.29504, y: 173.22595}
nodeUIDs:
- aabbcebf-3206-4432-97de-9789140f5af2|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Event_Interact
uid: 4c3a8819-1692-48d1-865f-82cafdcde0f4
position: {x: 247.29503, y: -0.7740816}
nodeUIDs: []
flowUIDs:
- cf78117b-d096-435e-9cbe-7ca56b42b412
nodeValues: []
- fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid
uid: cf78117b-d096-435e-9cbe-7ca56b42b412
position: {x: 483.29517, y: -3.774058}
nodeUIDs:
- 0ecfcbb1-b227-4936-acfd-7ef1691208db|0
-
flowUIDs:
- 01742e9a-6c43-4467-93be-6e5339ed6df3
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
uid: 0ecfcbb1-b227-4936-acfd-7ef1691208db
position: {x: 254.29507, y: 86.22594}
nodeUIDs: []
flowUIDs: []
nodeValues: []
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid
uid: 2435ef4c-897a-42dd-80c1-d31f7ff7f5cb
position: {x: 928.29504, y: -2.7740505}
nodeUIDs:
-
flowUIDs:
-
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__set_InteractionText__SystemString__SystemVoid
uid: 55df7383-868f-4d63-ab75-95d6e942c481
position: {x: 1040.4791, y: 957.46124}
nodeUIDs:
-
-
flowUIDs:
-
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Close
- fullName: Branch
uid: 830aa9e0-e170-4947-8b8b-1de950e5217d
position: {x: 837.4791, y: 959.46124}
nodeUIDs:
- 0c9c4702-879a-48c8-968e-52baf8ae16f8|0
flowUIDs:
- 55df7383-868f-4d63-ab75-95d6e942c481
- e0dc903b-0674-4707-9f32-ca55b6bfe113
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__set_InteractionText__SystemString__SystemVoid
uid: e0dc903b-0674-4707-9f32-ca55b6bfe113
position: {x: 1037.4791, y: 1098.4613}
nodeUIDs:
-
-
flowUIDs:
-
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Open
- fullName: Event_OnVariableChange
uid: 0c9c4702-879a-48c8-968e-52baf8ae16f8
position: {x: 237.52086, y: 544.31415}
nodeUIDs:
-
flowUIDs:
- 0c691122-4833-40b0-a636-f4705f6940a1
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a0870f0d-681c-4824-b73a-3d2998f58400
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Variable_VRCUdonCommonInterfacesIUdonEventReceiver
uid: da0de608-b93f-4c27-a999-eb49de9b65eb
position: {x: -1276, y: -552.5}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OtherInteractor
- 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: 4ca2ede5-4510-4994-aa2c-9f65dbb6b27e
position: {x: 1103.3539, y: 715.95825}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|da0de608-b93f-4c27-a999-eb49de9b65eb
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid
uid: 5a1a00a4-06ea-4fe0-842c-275c8170ba6a
position: {x: 2036.2946, y: 457.76093}
nodeUIDs:
- 4ca2ede5-4510-4994-aa2c-9f65dbb6b27e|0
- e37694ce-6d1b-4d32-8ea4-9af63ce50bfb|0
- 0c9c4702-879a-48c8-968e-52baf8ae16f8|0
flowUIDs:
-
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Const_SystemString
uid: e37694ce-6d1b-4d32-8ea4-9af63ce50bfb
position: {x: 1147.2505, y: 802}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|DoorIsOpen
- fullName: Block
uid: 0c691122-4833-40b0-a636-f4705f6940a1
position: {x: 618.76935, y: 424.167}
nodeUIDs: []
flowUIDs:
- 962ade7c-ef0b-4854-b67b-11f2e77e05df
- 830aa9e0-e170-4947-8b8b-1de950e5217d
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__GetProgramVariable__SystemString__SystemObject
uid: a6081e12-c4a6-45c7-b1c6-069a0a4d4df5
position: {x: 1376.3502, y: 611.0001}
nodeUIDs:
- 4ca2ede5-4510-4994-aa2c-9f65dbb6b27e|0
- e37694ce-6d1b-4d32-8ea4-9af63ce50bfb|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean
uid: 0ac97828-7742-422d-b104-d8bad8cc4f44
position: {x: 1624.4783, y: 497.30435}
nodeUIDs:
- 0c9c4702-879a-48c8-968e-52baf8ae16f8|0
- a6081e12-c4a6-45c7-b1c6-069a0a4d4df5|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: Branch
uid: 3835f0c5-44c8-42d7-b81c-9cef6493c7d3
position: {x: 1857.0566, y: 431.318}
nodeUIDs:
- 0ac97828-7742-422d-b104-d8bad8cc4f44|0
flowUIDs:
-
- 5a1a00a4-06ea-4fe0-842c-275c8170ba6a
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Event_Start
uid: b33fcd51-752c-4e71-b870-0b4610c49912
position: {x: 248.66597, y: 431.87476}
nodeUIDs: []
flowUIDs:
- 0c691122-4833-40b0-a636-f4705f6940a1
nodeValues: []
updateOrder: 0
graphElementData: []
version: 1.0.0
showAssembly: 0