diff options
Diffstat (limited to 'VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset')
-rw-r--r-- | VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset | 180 |
1 files changed, 180 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset new file mode 100644 index 00000000..e9610043 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset @@ -0,0 +1,180 @@ +%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: PlayerTrigger + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: efceabc1a762ab043a5cd764c2ef89c2, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export textField\r\n \r\n __instance_0: + %UnityEngineUIText, null\r\n __value_0: %SystemString, null\r\n __format_0: + %SystemString, null\r\n __arg0_0: %SystemObject, null\r\n __VRCPlayerApi_0: + %VRCSDKBaseVRCPlayerApi, null\r\n onPlayerTriggerEnterPlayer: %VRCSDKBaseVRCPlayerApi, + null\r\n __instance_1: %UnityEngineUIText, null\r\n __value_1: %SystemString, + null\r\n __format_1: %SystemString, null\r\n __arg0_1: %SystemObject, null\r\n + __VRCPlayerApi_1: %VRCSDKBaseVRCPlayerApi, null\r\n onPlayerTriggerExitPlayer: + %VRCSDKBaseVRCPlayerApi, null\r\n textField: %UnityEngineUIText, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export _onPlayerTriggerEnter\r\n \r\n _onPlayerTriggerEnter:\r\n \r\n + PUSH, textField\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + onPlayerTriggerEnterPlayer\r\n PUSH, __VRCPlayerApi_0\r\n COPY\r\n + PUSH, __VRCPlayerApi_0\r\n PUSH, __arg0_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString\"\r\n + PUSH, __format_0\r\n PUSH, __arg0_0\r\n PUSH, __value_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __instance_0\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onPlayerTriggerExit\r\n \r\n _onPlayerTriggerExit:\r\n + \r\n PUSH, textField\r\n PUSH, __instance_1\r\n COPY\r\n + PUSH, onPlayerTriggerExitPlayer\r\n PUSH, __VRCPlayerApi_1\r\n + COPY\r\n PUSH, __VRCPlayerApi_1\r\n PUSH, __arg0_1\r\n EXTERN, + \"VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString\"\r\n PUSH, __format_1\r\n + PUSH, __arg0_1\r\n PUSH, __value_1\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __instance_1\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_OnPlayerTriggerEnter + uid: c53d6635-48fc-45c4-a945-2fc99581bdf2 + position: {x: 300, y: 440} + nodeUIDs: [] + flowUIDs: + - 787668e1-41fe-4901-ab06-54bc47315fe3 + nodeValues: [] + - fullName: Event_OnPlayerTriggerExit + uid: 5593ff8f-3d3d-4c48-97dd-492a382c9560 + position: {x: 300, y: 830} + nodeUIDs: [] + flowUIDs: + - d54b8c7b-5e03-4623-a6b3-bbe9779b1088 + nodeValues: [] + - fullName: Variable_UnityEngineUIText + uid: b8929c6f-0571-49ff-989b-e6fbe4357275 + position: {x: -890, y: -505} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|textField + - 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: 8b074d0a-01ea-4474-9f8b-09de186c0f8e + position: {x: 1030, y: 410} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|b8929c6f-0571-49ff-989b-e6fbe4357275 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 0b01c504-8474-4d13-907c-813e3b72ef20 + position: {x: 900, y: 600} + nodeUIDs: + - + - 99ff63d8-ad74-4186-9bb0-2b57eadc88b1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|{0} + Entered + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: 99ff63d8-ad74-4186-9bb0-2b57eadc88b1 + position: {x: 580, y: 510} + nodeUIDs: + - c53d6635-48fc-45c4-a945-2fc99581bdf2|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 787668e1-41fe-4901-ab06-54bc47315fe3 + position: {x: 1200, y: 440} + nodeUIDs: + - 8b074d0a-01ea-4474-9f8b-09de186c0f8e|0 + - 0b01c504-8474-4d13-907c-813e3b72ef20|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: dc61f9c8-e8e9-4564-a2b7-fb44fab8e9dd + position: {x: 560, y: 900} + nodeUIDs: + - 5593ff8f-3d3d-4c48-97dd-492a382c9560|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: ff1e7d6e-cc3c-43ab-85b1-2c59985c02be + position: {x: 880, y: 990} + nodeUIDs: + - + - dc61f9c8-e8e9-4564-a2b7-fb44fab8e9dd + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|{0} + Exited + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: d54b8c7b-5e03-4623-a6b3-bbe9779b1088 + position: {x: 1180, y: 830} + nodeUIDs: + - da1f0c30-9d52-4d81-8f3c-31bf11f28973 + - ff1e7d6e-cc3c-43ab-85b1-2c59985c02be + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: da1f0c30-9d52-4d81-8f3c-31bf11f28973 + position: {x: 1010, y: 800} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|b8929c6f-0571-49ff-989b-e6fbe4357275 + updateOrder: 0 + graphElementData: + - type: 5 + uid: 1b29904b-1285-4990-adbe-16703c45b818 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 9434697b-4ec3-4300-8e8e-46522af7d1c0 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -233.84357, y: -73.78702} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 |