summaryrefslogtreecommitdiff
path: root/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset
diff options
context:
space:
mode:
Diffstat (limited to 'VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset')
-rw-r--r--VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset130
1 files changed, 130 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset
new file mode 100644
index 00000000..2c3eda1c
--- /dev/null
+++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset
@@ -0,0 +1,130 @@
+%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: SendEventOnInteract
+ m_EditorClassIdentifier:
+ serializedUdonProgramAsset: {fileID: 11400000, guid: dcb3a7be56a1b964ea8f5448ae88aae9,
+ type: 2}
+ udonAssembly: ".data_start\r\n\r\n .export target\r\n .export eventName\r\n
+ \r\n __instance_0: %VRCUdonUdonBehaviour, this\r\n __eventName_0: %SystemString,
+ null\r\n target: %VRCUdonUdonBehaviour, this\r\n eventName: %SystemString,
+ null\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, target\r\n PUSH, __instance_0\r\n
+ COPY\r\n PUSH, eventName\r\n PUSH, __eventName_0\r\n COPY\r\n
+ PUSH, __instance_0\r\n PUSH, __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n
+ JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
+ assemblyError:
+ graphData:
+ name:
+ description:
+ nodes:
+ - fullName: Get_Variable
+ uid: c85bd08b-bd8c-4d10-bbaf-8fe37b8e67ed
+ position: {x: -330, y: -40}
+ nodeUIDs:
+ -
+ flowUIDs: []
+ nodeValues:
+ - unityObjectValue: {fileID: 0}
+ stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|7a85105f-7376-4887-94df-dcdb90ba02f6
+ - fullName: Variable_VRCUdonCommonInterfacesIUdonEventReceiver
+ uid: 7a85105f-7376-4887-94df-dcdb90ba02f6
+ position: {x: -12, y: -600}
+ 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:
+ - fullName: Get_Variable
+ uid: c0389565-9622-4b61-9391-395ec701d61b
+ position: {x: -330, y: 40}
+ nodeUIDs:
+ -
+ flowUIDs: []
+ nodeValues:
+ - unityObjectValue: {fileID: 0}
+ stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|8dab0ccc-4f54-4719-973d-0c42ca4cf7f2
+ - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid
+ uid: ce8d78a0-2f92-44e6-a87d-fa989465c978
+ position: {x: 60, y: -60}
+ nodeUIDs:
+ - c85bd08b-bd8c-4d10-bbaf-8fe37b8e67ed|0
+ - c0389565-9622-4b61-9391-395ec701d61b|0
+ flowUIDs:
+ -
+ nodeValues:
+ - unityObjectValue: {fileID: 0}
+ stringValue:
+ - unityObjectValue: {fileID: 0}
+ stringValue:
+ - fullName: Variable_SystemString
+ uid: 8dab0ccc-4f54-4719-973d-0c42ca4cf7f2
+ position: {x: -228, y: -600}
+ nodeUIDs:
+ -
+ -
+ -
+ -
+ -
+ flowUIDs: []
+ nodeValues:
+ - unityObjectValue: {fileID: 0}
+ stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|eventName
+ - unityObjectValue: {fileID: 0}
+ stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|eventName
+ - 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: Event_Interact
+ uid: ee611c19-6e9f-4006-a819-d16994e1f506
+ position: {x: -320, y: -130}
+ nodeUIDs: []
+ flowUIDs:
+ - ce8d78a0-2f92-44e6-a87d-fa989465c978
+ nodeValues: []
+ updateOrder: 0
+ graphElementData:
+ - type: 2
+ uid:
+ jsonData: '{"uid":"93b70c85-1541-4c1b-8d13-31cf0ad812f4","layout":{"serializedVersion":"2","x":-351.07965087890627,"y":-193.5,"width":766.0,"height":341.0},"containedElements":["ee611c19-6e9f-4006-a819-d16994e1f506","ce8d78a0-2f92-44e6-a87d-fa989465c978","c0389565-9622-4b61-9391-395ec701d61b","c85bd08b-bd8c-4d10-bbaf-8fe37b8e67ed"],"title":"Send
+ an event to the target when the Mouse is clicked on this object","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
+ - type: 5
+ uid: 2841d1ed-315d-4f52-af3d-3052d6d33236
+ jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}'
+ - type: 4
+ uid: 4b97c479-d8be-4671-b5c8-cae6434c1adf
+ jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}'
+ viewTransform:
+ position: {x: 781.222, y: 334.74844}
+ scale: 1
+ version: 1.0.0
+ showAssembly: 0