%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: SendEventOnTimer m_EditorClassIdentifier: serializedUdonProgramAsset: {fileID: 11400000, guid: 655b2615c02cc154a90416b1f0a1263e, type: 2} udonAssembly: ".data_start\r\n\r\n .export target\r\n .export eventName\r\n .export duration\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n __Single_0: %SystemSingle, null\r\n __Single_1: %SystemSingle, null\r\n __Single_2: %SystemSingle, null\r\n __Single_3: %SystemSingle, null\r\n __instance_0: %VRCUdonUdonBehaviour, this\r\n __eventName_0: %SystemString, null\r\n target: %VRCUdonUdonBehaviour, this\r\n eventName: %SystemString, null\r\n duration: %SystemSingle, null\r\n lastTimerTick: %SystemSingle, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _update\r\n \r\n _update:\r\n \r\n PUSH, __Single_2\r\n EXTERN, \"UnityEngineTime.__get_time__SystemSingle\"\r\n PUSH, __Single_2\r\n PUSH, lastTimerTick\r\n PUSH, __Single_0\r\n EXTERN, \"SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle\"\r\n PUSH, __Single_0\r\n PUSH, duration\r\n PUSH, __Boolean_0\r\n EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000B8\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 PUSH, lastTimerTick\r\n EXTERN, \"UnityEngineTime.__get_time__SystemSingle\"\r\n JUMP, 0x000000B8\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" assemblyError: graphData: name: description: nodes: - fullName: Get_Variable uid: b94570b6-a35c-41ec-8c78-d389bff2005b position: {x: -20, y: -200} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0414f855-826a-45f7-b984-743b8a5e7969 - fullName: Variable_VRCUdonCommonInterfacesIUdonEventReceiver uid: 0414f855-826a-45f7-b984-743b8a5e7969 position: {x: -216, y: -636} 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: 63d9d16f-3d74-495f-8798-cb0ec58ec5f9 position: {x: -50, y: -120} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|950d8fc8-f389-4536-b64e-ba44ec3bb8bc - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid uid: 6b15af76-889f-4ef1-8b7b-cc3db3f7c01b position: {x: 190, y: -390} nodeUIDs: - b94570b6-a35c-41ec-8c78-d389bff2005b|0 - 63d9d16f-3d74-495f-8798-cb0ec58ec5f9|0 flowUIDs: - 22653f26-c638-48b3-b461-683ead018d44 nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: - fullName: Variable_SystemString uid: 950d8fc8-f389-4536-b64e-ba44ec3bb8bc position: {x: -408, y: -636} 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: - fullName: Variable_SystemSingle uid: b0a20621-7b43-48ca-b4a5-8fde43313cad position: {x: -24, y: -636} nodeUIDs: - - - - - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|duration - 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: Variable_SystemSingle uid: e48451be-3e33-4ff8-adfc-5d91d788585e position: {x: 168, y: -636} nodeUIDs: - - - - - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|lastTimerTick - 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 - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityEngineTime.__get_time__SystemSingle uid: 773dc93e-d8c2-4ec2-b7b7-fa369740cc24 position: {x: -1010, y: -200} nodeUIDs: [] flowUIDs: [] nodeValues: [] - fullName: SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle uid: 2a647e29-cdc7-48f0-9c8e-e298a5d024e3 position: {x: -790, y: -170} nodeUIDs: - 773dc93e-d8c2-4ec2-b7b7-fa369740cc24|0 - 8eade7ce-8a6b-4fe0-b442-09f9ba08f37f|0 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: - fullName: Get_Variable uid: 8eade7ce-8a6b-4fe0-b442-09f9ba08f37f position: {x: -990, y: -110} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|e48451be-3e33-4ff8-adfc-5d91d788585e - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean uid: d195c264-42cc-4a3a-9591-3401808d6087 position: {x: -390, y: -170} nodeUIDs: - 2a647e29-cdc7-48f0-9c8e-e298a5d024e3|0 - ed4787ec-4140-4c50-90fe-65c882a35c5c|0 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: - fullName: Event_Update uid: 031711d5-e2e3-44d8-84a6-cb35622b67f6 position: {x: -320, y: -440} nodeUIDs: [] flowUIDs: - ccb96836-c6e8-459d-aea6-67e98bed77fe nodeValues: [] - fullName: Get_Variable uid: ed4787ec-4140-4c50-90fe-65c882a35c5c position: {x: -570, y: -90} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|b0a20621-7b43-48ca-b4a5-8fde43313cad - fullName: Branch uid: ccb96836-c6e8-459d-aea6-67e98bed77fe position: {x: -160, y: -380} nodeUIDs: - d195c264-42cc-4a3a-9591-3401808d6087|0 flowUIDs: - 6b15af76-889f-4ef1-8b7b-cc3db3f7c01b nodeValues: - unityObjectValue: {fileID: 0} stringValue: - fullName: Set_Variable uid: 22653f26-c638-48b3-b461-683ead018d44 position: {x: 800, y: -390} nodeUIDs: - - 081024df-3b21-4821-a7cf-de52954d2a55|0 flowUIDs: - nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|e48451be-3e33-4ff8-adfc-5d91d788585e - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityEngineTime.__get_time__SystemSingle uid: 081024df-3b21-4821-a7cf-de52954d2a55 position: {x: 590, y: -270} nodeUIDs: [] flowUIDs: [] nodeValues: [] updateOrder: 0 graphElementData: - type: 2 uid: 4093afd3-3b34-4458-bf51-c10d4dd55792 jsonData: '{"uid":"4093afd3-3b34-4458-bf51-c10d4dd55792","layout":{"serializedVersion":"2","x":-1030.458984375,"y":-268.1321105957031,"width":872.0,"height":285.0},"containedElements":["ed4787ec-4140-4c50-90fe-65c882a35c5c","d195c264-42cc-4a3a-9591-3401808d6087","8eade7ce-8a6b-4fe0-b442-09f9ba08f37f","2a647e29-cdc7-48f0-9c8e-e298a5d024e3","773dc93e-d8c2-4ec2-b7b7-fa369740cc24"],"title":"Check whether enough time has passed since lastTimerTick","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' - type: 2 uid: dffb3bb3-248f-47db-8a72-5e08c2b472b9 jsonData: '{"uid":"dffb3bb3-248f-47db-8a72-5e08c2b472b9","layout":{"serializedVersion":"2","x":560.4934692382813,"y":-451.3446044921875,"width":458.0,"height":286.0},"containedElements":["22653f26-c638-48b3-b461-683ead018d44","081024df-3b21-4821-a7cf-de52954d2a55"],"title":"save NOW as new lastTimerTick","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' - type: 3 uid: 3f84d049-9d9e-4197-94e1-21e603b32ad0 jsonData: '{"uid":"3f84d049-9d9e-4197-94e1-21e603b32ad0","layout":{"serializedVersion":"2","x":-52.26012420654297,"y":-30.204896926879884,"width":431.6936340332031,"height":90.24354553222656},"title":"eventName and target are public variables so you can easily change it in the Inspector and reuse this graph for other events","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' - type: 3 uid: f19b4aa1-afa5-4a05-8e3b-d1dbfd3b34e0 jsonData: '{"uid":"f19b4aa1-afa5-4a05-8e3b-d1dbfd3b34e0","layout":{"serializedVersion":"2","x":-378.37744140625,"y":-490.85284423828127,"width":246.4500732421875,"height":40.0000114440918},"title":"Check timer every frame","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' - type: 5 uid: cddf633d-d48d-4bda-954f-1d0dd8f691c2 jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":29.0,"width":235.0,"height":173.0}}' - type: 4 uid: 46d8d053-df09-42aa-b83b-0d8d8bbabc43 jsonData: '{"visible":false,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' viewTransform: position: {x: 544.5098, y: 565.3605} scale: 0.5019608 version: 1.0.0 showAssembly: 1