diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-06 15:12:42 -0500 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-06 15:12:42 -0500 |
commit | eb84bb298d2b95aec7b2ae12cbf25ac64f25379a (patch) | |
tree | efd616a157df06ab661c6d56651853431ac6b08b /VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources | |
download | unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.gz unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.bz2 unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.zip |
move to self host
Diffstat (limited to 'VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources')
70 files changed, 13149 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncAnyone.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncAnyone.asset new file mode 100644 index 00000000..45dc7509 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncAnyone.asset @@ -0,0 +1,259 @@ +%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: ButtonSyncAnyone + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 29c4278f28324de498d0b4854028502f, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiText\r\n .sync clickCount, none\r\n + \r\n __Boolean_0: %SystemBoolean, 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 __Int32_0: %SystemInt32, + null\r\n __Int32_1: %SystemInt32, null\r\n __instance_1: %VRCUdonUdonBehaviour, + this\r\n __instance_2: %VRCUdonUdonBehaviour, this\r\n __target_0: %VRCUdonCommonInterfacesNetworkEventTarget, + null\r\n __eventName_0: %SystemString, null\r\n __instance_3: %UnityEngineUIText, + null\r\n __value_1: %SystemString, null\r\n __instance_4: %SystemInt32, + null\r\n __name_0: %SystemString, null\r\n uiText: %UnityEngineUIText, + null\r\n clickCount: %SystemInt32, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export OnClick\r\n \r\n OnClick:\r\n \r\n PUSH, __obj_0\r\n + PUSH, __Boolean_0\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000080\r\n PUSH, clickCount\r\n + PUSH, __Int32_1\r\n PUSH, __value_0\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\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, 0x000000A0\r\n PUSH, __instance_2\r\n PUSH, __target_0\r\n + PUSH, __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_clickCount\r\n \r\n + _onVarChange_clickCount:\r\n \r\n PUSH, uiText\r\n PUSH, __instance_3\r\n + COPY\r\n PUSH, clickCount\r\n PUSH, __value_1\r\n EXTERN, + \"SystemInt32.__ToString__SystemString\"\r\n PUSH, __instance_3\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: Variable_UnityEngineUIText + uid: 12c79c8c-4c5b-47f4-97a5-6eff05f02319 + position: {x: -740.4359, y: -1220.8345} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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: Set_Variable + uid: cdd58849-782a-4df1-bb77-4faa31abf7dc + position: {x: 30, y: -110} + nodeUIDs: + - + - 18427a69-ec81-412b-b6ea-b13cfed20d19|0 + - + flowUIDs: + - 4ac71d57-6ba8-448e-a5d4-d3cadabe3f49 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Variable_SystemInt32 + uid: 108dca79-fc50-4974-be67-98b51b901956 + position: {x: 366.23846, y: -689.9112} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|clickCount + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 18427a69-ec81-412b-b6ea-b13cfed20d19 + position: {x: -140, y: -170} + nodeUIDs: + - 15668f0e-6cf0-486a-be22-9674854daf11|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Event_Custom + uid: 852f1237-e9f1-4cb5-bda2-fb88201d3829 + position: {x: -400, y: -40} + nodeUIDs: + - + flowUIDs: + - 319f2ce6-c6ec-43c5-b879-fa9c8d104961 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnClick + - fullName: Branch + uid: 319f2ce6-c6ec-43c5-b879-fa9c8d104961 + position: {x: -160, y: -20} + nodeUIDs: + - 63db96ca-ddb7-4ca4-b382-c08cd2172338 + flowUIDs: + - cdd58849-782a-4df1-bb77-4faa31abf7dc + - 417b8f9c-00aa-43c3-9e4e-55dc883e101d + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: 63db96ca-ddb7-4ca4-b382-c08cd2172338 + position: {x: -400, y: 60} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 15668f0e-6cf0-486a-be22-9674854daf11 + position: {x: -290, y: -170} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 4ac71d57-6ba8-448e-a5d4-d3cadabe3f49 + position: {x: 220, y: -110} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnVariableChange + uid: 3832f067-5742-4e87-b545-71deb903f2f2 + position: {x: -380, y: 330} + nodeUIDs: + - + flowUIDs: + - 6dff22a2-f752-4a8f-b9fe-12861e4cafe0 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid + uid: 417b8f9c-00aa-43c3-9e4e-55dc883e101d + position: {x: 30, y: 60} + nodeUIDs: + - + - + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|Owner + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnClick + - fullName: Get_Variable + uid: 7d6f37d7-1157-44e2-a2a4-2e03c31d91b9 + position: {x: 20, y: 520} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|12c79c8c-4c5b-47f4-97a5-6eff05f02319 + - fullName: SystemInt32.__ToString__SystemString + uid: 2c28868c-e3fc-4368-a68e-f1ec43264593 + position: {x: -20, y: 400} + nodeUIDs: + - 3832f067-5742-4e87-b545-71deb903f2f2|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 6dff22a2-f752-4a8f-b9fe-12861e4cafe0 + position: {x: 220, y: 330} + nodeUIDs: + - 7d6f37d7-1157-44e2-a2a4-2e03c31d91b9|0 + - 2c28868c-e3fc-4368-a68e-f1ec43264593|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 2 + uid: 1e5e4bad-4245-446a-9a2d-60da0b040c87 + jsonData: '{"uid":"1e5e4bad-4245-446a-9a2d-60da0b040c87","layout":{"serializedVersion":"2","x":-430.0,"y":-240.0,"width":853.0,"height":474.0},"containedElements":["cdd58849-782a-4df1-bb77-4faa31abf7dc","852f1237-e9f1-4cb5-bda2-fb88201d3829","18427a69-ec81-412b-b6ea-b13cfed20d19","ff9f3dde-4313-43a8-b8a3-f61983d0fd81","319f2ce6-c6ec-43c5-b879-fa9c8d104961","63db96ca-ddb7-4ca4-b382-c08cd2172338","3e7751f7-bab9-46ab-90f8-6e740a487e65","d30adcdd-e312-492b-880a-4f1579967e45","89f4d63f-92c7-4170-bbb8-b2e6ae9b495c","4ac71d57-6ba8-448e-a5d4-d3cadabe3f49","5a1a8741-238e-4ed1-81c9-640183cafa8d","417b8f9c-00aa-43c3-9e4e-55dc883e101d","15668f0e-6cf0-486a-be22-9674854daf11","67d595d3-d0a1-4f1b-a3b3-34536e30c831","4ded3a89-3cf3-41bf-81e0-647cab11cfd1","20b3588c-ad2a-4908-b2a8-6121d6433215"],"title":"When + OnClick is run, increase clickCount by 1 OR send OnClick to Owner","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 78f29d17-6063-4cf3-a7b5-770dd2725a3f + jsonData: '{"uid":"78f29d17-6063-4cf3-a7b5-770dd2725a3f","layout":{"serializedVersion":"2","x":-370.0,"y":470.0,"width":196.89210510253907,"height":125.40625762939453},"title":"clickCount + is synchronized from the Owner to everyone else","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 044dd017-f2d8-49b1-b3f8-193f57d08b82 + jsonData: '{"uid":"044dd017-f2d8-49b1-b3f8-193f57d08b82","layout":{"serializedVersion":"2","x":-780.0,"y":-40.0,"width":355.2675476074219,"height":87.34739685058594},"title":"This + event can have any name we want as long as we make it the same on the UI item + that triggers it.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: adb4168a-c2cf-41fc-a7d0-b0f765fa55d8 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":29.0,"width":218.0,"height":144.0}}' + - type: 4 + uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a + jsonData: '{"visible":false,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: dd4702bd-f4c5-4f78-9744-0a32b9b155b8 + jsonData: '{"uid":"dd4702bd-f4c5-4f78-9744-0a32b9b155b8","layout":{"serializedVersion":"2","x":-400.0,"y":260.0,"width":798.0,"height":364.0},"containedElements":["3832f067-5742-4e87-b545-71deb903f2f2","7d6f37d7-1157-44e2-a2a4-2e03c31d91b9","2c28868c-e3fc-4368-a68e-f1ec43264593","6dff22a2-f752-4a8f-b9fe-12861e4cafe0","78f29d17-6063-4cf3-a7b5-770dd2725a3f","2f6778f5-14c7-4b9a-ae68-53d47ad4ae16","d4868e2f-ce41-4d0c-9a23-c44b0dee1552","f2224a8d-9070-42c4-bc0b-aff6f94149dd","3e0bc186-9753-440e-a535-dcff1d37f2d8"],"title":"clickCount + Change triggers whenever the synced variable changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 686.2118, y: 303.53906} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 1 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncAnyone.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncAnyone.asset.meta new file mode 100644 index 00000000..a9e68bee --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncAnyone.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0579e2f7d1c57a241a07d45f6088960b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncBecomeOwner.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncBecomeOwner.asset new file mode 100644 index 00000000..dd2511c6 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncBecomeOwner.asset @@ -0,0 +1,285 @@ +%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: ButtonSyncBecomeOwner + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: e59f871ed6cc5a143917cb73a12f6bd2, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiText\r\n .sync clickCount, none\r\n + \r\n __player_0: %VRCSDKBaseVRCPlayerApi, null\r\n __obj_0: %UnityEngineGameObject, + this\r\n __GameObject_0: %UnityEngineGameObject, this\r\n __instance_0: + %VRCUdonUdonBehaviour, this\r\n __symbolName_0: %SystemString, null\r\n + __value_0: %SystemObject, null\r\n __Int32_0: %SystemInt32, null\r\n __Int32_1: + %SystemInt32, null\r\n __instance_1: %VRCUdonUdonBehaviour, this\r\n __instance_2: + %UnityEngineUIText, null\r\n __value_1: %SystemString, null\r\n __instance_3: + %SystemInt32, null\r\n __name_0: %SystemString, null\r\n uiText: %UnityEngineUIText, + null\r\n clickCount: %SystemInt32, null\r\n __returnValue: %SystemObject, + null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export OnClick\r\n \r\n + OnClick:\r\n \r\n PUSH, __player_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __GameObject_0\r\n PUSH, __obj_0\r\n COPY\r\n PUSH, + __player_0\r\n PUSH, __obj_0\r\n EXTERN, \"VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid\"\r\n + PUSH, clickCount\r\n PUSH, __Int32_1\r\n PUSH, __value_0\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\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_clickCount\r\n \r\n + _onVarChange_clickCount:\r\n \r\n PUSH, uiText\r\n PUSH, __instance_2\r\n + COPY\r\n PUSH, clickCount\r\n PUSH, __value_1\r\n EXTERN, + \"SystemInt32.__ToString__SystemString\"\r\n PUSH, __instance_2\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: Variable_UnityEngineUIText + uid: 12c79c8c-4c5b-47f4-97a5-6eff05f02319 + position: {x: -480.43594, y: -1210.8345} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 4b420ac5-0590-4ed1-b0c0-6c7136ddef8b + position: {x: -40, y: -130} + nodeUIDs: + - 153012b4-7498-492e-befc-a44d596ad615|0 + - 6db53f3c-a646-4f97-afc4-74fe64186239|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: cdd58849-782a-4df1-bb77-4faa31abf7dc + position: {x: -200, y: -400} + nodeUIDs: + - + - 18427a69-ec81-412b-b6ea-b13cfed20d19|0 + - + flowUIDs: + - 76acdc6d-5ee9-4335-9f19-0b89a232057b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Variable_SystemInt32 + uid: 108dca79-fc50-4974-be67-98b51b901956 + position: {x: 716.23846, y: -899.9112} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|clickCount + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 18427a69-ec81-412b-b6ea-b13cfed20d19 + position: {x: -380, y: -350} + nodeUIDs: + - a5c027cd-d002-43c1-89f7-d0c7c7ec8323|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Event_Custom + uid: 852f1237-e9f1-4cb5-bda2-fb88201d3829 + position: {x: -560, y: -760} + nodeUIDs: + - + flowUIDs: + - 40dc9196-2fe8-4e87-a053-ec90c17ca405 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnClick + - fullName: SystemInt32.__ToString__SystemString + uid: 6db53f3c-a646-4f97-afc4-74fe64186239 + position: {x: -240, y: 0} + nodeUIDs: + - 14e655d5-733c-45aa-9c0b-161a18ead4a7|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Variable_SystemObject + uid: dcb6b65b-bb92-45ba-9d08-61604850fd9c + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Block + uid: 40dc9196-2fe8-4e87-a053-ec90c17ca405 + position: {x: -340, y: -760} + nodeUIDs: [] + flowUIDs: + - bf56fabd-f340-4b44-82d6-9c9c0564ad70 + - cdd58849-782a-4df1-bb77-4faa31abf7dc + nodeValues: [] + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: bf56fabd-f340-4b44-82d6-9c9c0564ad70 + position: {x: 50, y: -760} + nodeUIDs: + - 8fc9f303-8f59-4d4e-a0d1-350e22618a9b|0 + - 29cf5070-97a3-46d9-be22-a063b7fbf363|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 8fc9f303-8f59-4d4e-a0d1-350e22618a9b + position: {x: -140, y: -680} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Const_This + uid: 29cf5070-97a3-46d9-be22-a063b7fbf363 + position: {x: -90, y: -600} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 76acdc6d-5ee9-4335-9f19-0b89a232057b + position: {x: -20, y: -400} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: a5c027cd-d002-43c1-89f7-d0c7c7ec8323 + position: {x: -540, y: -350} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - fullName: Event_OnVariableChange + uid: 14e655d5-733c-45aa-9c0b-161a18ead4a7 + position: {x: -460, y: -130} + nodeUIDs: + - + flowUIDs: + - 4b420ac5-0590-4ed1-b0c0-6c7136ddef8b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 153012b4-7498-492e-befc-a44d596ad615 + position: {x: -210, y: -100} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|12c79c8c-4c5b-47f4-97a5-6eff05f02319 + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 2 + uid: 1e5e4bad-4245-446a-9a2d-60da0b040c87 + jsonData: '{"uid":"1e5e4bad-4245-446a-9a2d-60da0b040c87","layout":{"serializedVersion":"2","x":-560.0,"y":-460.0,"width":754.0,"height":246.0},"containedElements":["cdd58849-782a-4df1-bb77-4faa31abf7dc","18427a69-ec81-412b-b6ea-b13cfed20d19","ff9f3dde-4313-43a8-b8a3-f61983d0fd81","319f2ce6-c6ec-43c5-b879-fa9c8d104961","63db96ca-ddb7-4ca4-b382-c08cd2172338","3e7751f7-bab9-46ab-90f8-6e740a487e65","365f49b5-c24c-494d-bebe-0c80e2d225a2","76acdc6d-5ee9-4335-9f19-0b89a232057b","a5c027cd-d002-43c1-89f7-d0c7c7ec8323","493b8a05-e4cf-454c-a45e-a7056f14e189"],"title":"Increase + clickCount by 1","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 53130751-f15b-4965-9651-76c8d7821be2 + jsonData: '{"uid":"53130751-f15b-4965-9651-76c8d7821be2","layout":{"serializedVersion":"2","x":-160.0,"y":-820.0,"width":353.0,"height":332.0},"containedElements":["29cf5070-97a3-46d9-be22-a063b7fbf363","8fc9f303-8f59-4d4e-a0d1-350e22618a9b","bf56fabd-f340-4b44-82d6-9c9c0564ad70"],"title":"Become + Owner","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: e6b27332-142a-4fdf-b5f0-55259986e0d5 + jsonData: '{"uid":"e6b27332-142a-4fdf-b5f0-55259986e0d5","layout":{"serializedVersion":"2","x":-585.0,"y":-830.0,"width":360.0,"height":220.0},"containedElements":["40dc9196-2fe8-4e87-a053-ec90c17ca405","852f1237-e9f1-4cb5-bda2-fb88201d3829"],"title":"OnClick, + do two things in order","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 044dd017-f2d8-49b1-b3f8-193f57d08b82 + jsonData: '{"uid":"044dd017-f2d8-49b1-b3f8-193f57d08b82","layout":{"serializedVersion":"2","x":-970.0,"y":-760.0,"width":355.2675476074219,"height":87.34739685058594},"title":"This + event can have any name we want as long as we make it the same on the UI item + that triggers it.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: 5d0f4cc4-6854-454f-bb77-8e1bb8842672 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":211.0,"height":262.0}}' + - type: 4 + uid: 660ed7e9-fdef-48a0-be18-1e45b935b733 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: 9cc4edc9-1c0f-477f-ac9a-bdacbd3b32bd + jsonData: '{"uid":"9cc4edc9-1c0f-477f-ac9a-bdacbd3b32bd","layout":{"serializedVersion":"2","x":-490.0,"y":-190.0,"width":618.0,"height":324.0},"containedElements":["6db53f3c-a646-4f97-afc4-74fe64186239","14e655d5-733c-45aa-9c0b-161a18ead4a7","4b420ac5-0590-4ed1-b0c0-6c7136ddef8b","153012b4-7498-492e-befc-a44d596ad615"],"title":"Update + Text when clickCount changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 793.45886, y: 731.05963} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncBecomeOwner.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncBecomeOwner.asset.meta new file mode 100644 index 00000000..256caf0d --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncBecomeOwner.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3f7757f3a3e464644acd66ab61321b36 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncOwner.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncOwner.asset new file mode 100644 index 00000000..c57fb103 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncOwner.asset @@ -0,0 +1,240 @@ +%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: ButtonSyncOwner + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 2b8eb2e4678ae984aadfa40576bdb5b9, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiText\r\n .sync clickCount, none\r\n + \r\n __Boolean_0: %SystemBoolean, 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 __Int32_0: %SystemInt32, + null\r\n __Int32_1: %SystemInt32, null\r\n __instance_1: %VRCUdonUdonBehaviour, + this\r\n __instance_2: %UnityEngineUIText, null\r\n __value_1: %SystemString, + null\r\n __instance_3: %SystemInt32, null\r\n __name_0: %SystemString, + null\r\n uiText: %UnityEngineUIText, null\r\n clickCount: %SystemInt32, + null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export OnClick\r\n \r\n + OnClick:\r\n \r\n PUSH, __obj_0\r\n PUSH, __Boolean_0\r\n + EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000080\r\n PUSH, clickCount\r\n + PUSH, __Int32_1\r\n PUSH, __value_0\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\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, 0x00000080\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_clickCount\r\n + \r\n _onVarChange_clickCount:\r\n \r\n PUSH, uiText\r\n PUSH, + __instance_2\r\n COPY\r\n PUSH, clickCount\r\n PUSH, __value_1\r\n + EXTERN, \"SystemInt32.__ToString__SystemString\"\r\n PUSH, __instance_2\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: Variable_UnityEngineUIText + uid: 12c79c8c-4c5b-47f4-97a5-6eff05f02319 + position: {x: -480.43594, y: -1210.8345} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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: 89f4d63f-92c7-4170-bbb8-b2e6ae9b495c + position: {x: -60, y: 180} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|12c79c8c-4c5b-47f4-97a5-6eff05f02319 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 4b420ac5-0590-4ed1-b0c0-6c7136ddef8b + position: {x: 160, y: 110} + nodeUIDs: + - 89f4d63f-92c7-4170-bbb8-b2e6ae9b495c|0 + - 6db53f3c-a646-4f97-afc4-74fe64186239|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: cdd58849-782a-4df1-bb77-4faa31abf7dc + position: {x: 20, y: -380} + nodeUIDs: + - + - 18427a69-ec81-412b-b6ea-b13cfed20d19|0 + - + flowUIDs: + - 519e33e7-e708-4514-9f9f-b7e62d40b227 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Variable_SystemInt32 + uid: 108dca79-fc50-4974-be67-98b51b901956 + position: {x: 716.23846, y: -899.9112} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|clickCount + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 18427a69-ec81-412b-b6ea-b13cfed20d19 + position: {x: -130, y: -170} + nodeUIDs: + - 60e1019c-8c43-4fcf-a262-850a5e4de452|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Event_Custom + uid: 852f1237-e9f1-4cb5-bda2-fb88201d3829 + position: {x: -440, y: -380} + nodeUIDs: + - + flowUIDs: + - 319f2ce6-c6ec-43c5-b879-fa9c8d104961 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnClick + - fullName: Branch + uid: 319f2ce6-c6ec-43c5-b879-fa9c8d104961 + position: {x: -160, y: -380} + nodeUIDs: + - 63db96ca-ddb7-4ca4-b382-c08cd2172338 + flowUIDs: + - cdd58849-782a-4df1-bb77-4faa31abf7dc + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: 63db96ca-ddb7-4ca4-b382-c08cd2172338 + position: {x: -440, y: -290} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemInt32.__ToString__SystemString + uid: 6db53f3c-a646-4f97-afc4-74fe64186239 + position: {x: -100, y: 290} + nodeUIDs: + - 0aa6e57c-b64b-4ff9-972a-a162d8f60c0b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 519e33e7-e708-4514-9f9f-b7e62d40b227 + position: {x: 190, y: -380} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnVariableChange + uid: 0aa6e57c-b64b-4ff9-972a-a162d8f60c0b + position: {x: -320, y: 110} + nodeUIDs: + - + flowUIDs: + - 4b420ac5-0590-4ed1-b0c0-6c7136ddef8b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 60e1019c-8c43-4fcf-a262-850a5e4de452 + position: {x: -280, y: -170} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108dca79-fc50-4974-be67-98b51b901956 + updateOrder: 0 + graphElementData: + - type: 2 + uid: 1e5e4bad-4245-446a-9a2d-60da0b040c87 + jsonData: '{"uid":"1e5e4bad-4245-446a-9a2d-60da0b040c87","layout":{"serializedVersion":"2","x":-460.0,"y":-450.0,"width":862.0,"height":408.0},"containedElements":["cdd58849-782a-4df1-bb77-4faa31abf7dc","852f1237-e9f1-4cb5-bda2-fb88201d3829","18427a69-ec81-412b-b6ea-b13cfed20d19","ff9f3dde-4313-43a8-b8a3-f61983d0fd81","319f2ce6-c6ec-43c5-b879-fa9c8d104961","63db96ca-ddb7-4ca4-b382-c08cd2172338","3e7751f7-bab9-46ab-90f8-6e740a487e65","519e33e7-e708-4514-9f9f-b7e62d40b227","60e1019c-8c43-4fcf-a262-850a5e4de452"],"title":"When + OnClick is run, increase clickCount by 1","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 78f29d17-6063-4cf3-a7b5-770dd2725a3f + jsonData: '{"uid":"78f29d17-6063-4cf3-a7b5-770dd2725a3f","layout":{"serializedVersion":"2","x":-330.0,"y":260.0,"width":202.1821746826172,"height":143.92124938964845},"title":"clickCount + is synchronized from the Owner to everyone else","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 044dd017-f2d8-49b1-b3f8-193f57d08b82 + jsonData: '{"uid":"044dd017-f2d8-49b1-b3f8-193f57d08b82","layout":{"serializedVersion":"2","x":-830.0,"y":-390.0,"width":355.2675476074219,"height":87.34739685058594},"title":"This + event can have any name we want as long as we make it the same on the UI item + that triggers it.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: e1f3f250-8dc8-40b6-9b89-c0a387895e23 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":211.0,"height":262.0}}' + - type: 4 + uid: 9e991445-f186-4861-bf09-9bebcadf1d2d + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: 15659b53-abe8-498d-b033-688c2014ebf2 + jsonData: '{"uid":"15659b53-abe8-498d-b033-688c2014ebf2","layout":{"serializedVersion":"2","x":-350.0,"y":40.0,"width":691.0,"height":385.0},"containedElements":["78f29d17-6063-4cf3-a7b5-770dd2725a3f","0aa6e57c-b64b-4ff9-972a-a162d8f60c0b","89f4d63f-92c7-4170-bbb8-b2e6ae9b495c","6db53f3c-a646-4f97-afc4-74fe64186239","4b420ac5-0590-4ed1-b0c0-6c7136ddef8b"],"title":"clickCount + change will fire whenever the synced var is updated","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 735.3901, y: 528.4835} + scale: 1 + version: 1.0.0 + showAssembly: 1 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncOwner.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncOwner.asset.meta new file mode 100644 index 00000000..a0c245db --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ButtonSyncOwner.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5893300e3f688004b9251878e312d460 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ChangeMaterialOnEvent.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ChangeMaterialOnEvent.asset new file mode 100644 index 00000000..9733ec55 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ChangeMaterialOnEvent.asset @@ -0,0 +1,242 @@ +%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: ChangeMaterialOnEvent + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: e92cc1fd5981ad64ba1cb341eaad7850, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export materials\r\n .export meshRenderer\r\n + \r\n __Int32_0: %SystemInt32, null\r\n __Int32_1: %SystemInt32, null\r\n + __Int32_2: %SystemInt32, null\r\n __Int32_3: %SystemInt32, null\r\n __instance_0: + %UnityEngineMaterialArray, null\r\n __instance_1: %UnityEngineMeshRenderer, + null\r\n __value_0: %UnityEngineMaterial, null\r\n __instance_2: %UnityEngineMaterialArray, + null\r\n __Int32_4: %SystemInt32, null\r\n materials: %UnityEngineMaterialArray, + null\r\n meshRenderer: %UnityEngineMeshRenderer, null\r\n materialIndex: + %SystemInt32, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export changeMaterial\r\n + \r\n changeMaterial:\r\n \r\n PUSH, materialIndex\r\n PUSH, + __Int32_3\r\n PUSH, __Int32_0\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, materials\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + __instance_0\r\n PUSH, __Int32_1\r\n EXTERN, \"UnityEngineMaterialArray.__get_Length__SystemInt32\"\r\n + PUSH, __Int32_0\r\n PUSH, __Int32_1\r\n PUSH, materialIndex\r\n + EXTERN, \"SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, meshRenderer\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, + materials\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n + PUSH, materialIndex\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineMaterialArray.__Get__SystemInt32__UnityEngineMaterial\"\r\n + PUSH, __instance_1\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineMeshRenderer.__set_material__UnityEngineMaterial__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_UnityEngineMaterialArray + uid: fe8385e7-c2a1-4d82-8363-ee8de6d78be2 + position: {x: 36, y: -204} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|materials + - 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_UnityEngineMeshRenderer + uid: b63cb9da-6ee0-4c03-87c6-0d5f35513ee0 + position: {x: -156, y: -204} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|meshRenderer + - 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: UnityEngineMeshRenderer.__set_material__UnityEngineMaterial__SystemVoid + uid: fbca1f82-f5e2-4547-a6d8-807a10e77cf5 + position: {x: 1044, y: 312} + nodeUIDs: + - 0d68c6c1-ea12-4005-93ca-74d56e211008|0 + - c5198e2b-92b1-496c-98e6-dd4c9e93d8c0|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 0d68c6c1-ea12-4005-93ca-74d56e211008 + position: {x: 744, y: 300} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|b63cb9da-6ee0-4c03-87c6-0d5f35513ee0 + - fullName: UnityEngineMaterialArray.__Get__SystemInt32__UnityEngineMaterial + uid: c5198e2b-92b1-496c-98e6-dd4c9e93d8c0 + position: {x: 708, y: 408} + nodeUIDs: + - 6fb4681a-1e9b-4e7c-8002-2c8b8c9362d5|0 + - 736cb6ee-2eab-4d86-ab58-74f6552a581f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 6fb4681a-1e9b-4e7c-8002-2c8b8c9362d5 + position: {x: 432, y: 396} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fe8385e7-c2a1-4d82-8363-ee8de6d78be2 + - fullName: Variable_SystemInt32 + uid: 992035b4-304a-4f9a-adbc-ac3998c80bec + position: {x: 228, y: -204} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|materialIndex + - 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: Get_Variable + uid: 4eb4be4a-1ae2-4943-89e5-3796e7493543 + position: {x: -156, y: 108} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|992035b4-304a-4f9a-adbc-ac3998c80bec + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 8b77ded6-d1ce-4682-830a-61bb23a70b83 + position: {x: 108, y: 108} + nodeUIDs: + - 4eb4be4a-1ae2-4943-89e5-3796e7493543|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: UnityEngineMaterialArray.__get_Length__SystemInt32 + uid: c94dd94e-870c-4402-9e6e-6a8ab6ca1975 + position: {x: 60, y: 252} + nodeUIDs: + - 3c51267b-e6de-4583-8843-a60e39eb7f34|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 3c51267b-e6de-4583-8843-a60e39eb7f34 + position: {x: -192, y: 264} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fe8385e7-c2a1-4d82-8363-ee8de6d78be2 + - fullName: Get_Variable + uid: 736cb6ee-2eab-4d86-ab58-74f6552a581f + position: {x: 432, y: 468} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|992035b4-304a-4f9a-adbc-ac3998c80bec + - fullName: SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32 + uid: 280397ff-d044-4416-bc2f-ee26d30514e3 + position: {x: 396, y: 132} + nodeUIDs: + - 8b77ded6-d1ce-4682-830a-61bb23a70b83|0 + - c94dd94e-870c-4402-9e6e-6a8ab6ca1975|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 9d699e9a-b7cc-492d-ba94-432720eac3a3 + position: {x: 708, y: 96} + nodeUIDs: + - + - 280397ff-d044-4416-bc2f-ee26d30514e3|0 + flowUIDs: + - fbca1f82-f5e2-4547-a6d8-807a10e77cf5 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|992035b4-304a-4f9a-adbc-ac3998c80bec + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Custom + uid: 2cef706c-572f-4ae7-b27b-016614d9ff04 + position: {x: 456, y: 36} + nodeUIDs: + - + flowUIDs: + - 9d699e9a-b7cc-492d-ba94-432720eac3a3 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|changeMaterial + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: 0, y: 0} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ChangeMaterialOnEvent.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ChangeMaterialOnEvent.asset.meta new file mode 100644 index 00000000..b9c6e8aa --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ChangeMaterialOnEvent.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 18a8a73823b22934e929c67357a4e2d7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Chooser.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Chooser.asset new file mode 100644 index 00000000..dd0e525e --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Chooser.asset @@ -0,0 +1,675 @@ +%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: Chooser + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: df9717ffb08813d4c97f0dc34629b25d, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export objects\r\n .export ActiveSceneLabel\r\n + .sync currentIndex, none\r\n \r\n __instance_0: %VRCUdonUdonBehaviour, + this\r\n __symbolName_0: %SystemString, null\r\n __value_0: %SystemObject, + null\r\n __Int32_0: %SystemInt32, null\r\n __Int32_1: %SystemInt32, null\r\n + __Int32_2: %SystemInt32, null\r\n __Int32_3: %SystemInt32, null\r\n __instance_1: + %UnityEngineGameObjectArray, null\r\n __instance_2: %VRCUdonUdonBehaviour, + this\r\n __Boolean_0: %SystemBoolean, null\r\n __Int32_4: %SystemInt32, + null\r\n __Int32_5: %SystemInt32, null\r\n __instance_3: %VRCUdonUdonBehaviour, + this\r\n __symbolName_1: %SystemString, null\r\n __value_1: %SystemObject, + null\r\n __Int32_8: %SystemInt32, null\r\n __Int32_9: %SystemInt32, null\r\n + __instance_4: %UnityEngineGameObjectArray, null\r\n __instance_6: %VRCUdonUdonBehaviour, + this\r\n __symbolName_2: %SystemString, null\r\n __value_2: %SystemObject, + null\r\n __Int32_6: %SystemInt32, null\r\n __Int32_7: %SystemInt32, null\r\n + __instance_5: %VRCUdonUdonBehaviour, this\r\n __instance_7: %VRCUdonUdonBehaviour, + this\r\n __target_0: %VRCUdonCommonInterfacesNetworkEventTarget, null\r\n + __eventName_0: %SystemString, null\r\n __instance_8: %VRCUdonUdonBehaviour, + this\r\n __target_1: %VRCUdonCommonInterfacesNetworkEventTarget, null\r\n + __eventName_1: %SystemString, null\r\n __Boolean_1: %SystemBoolean, null\r\n + __Int32_A: %SystemInt32, null\r\n __Int32_B: %SystemInt32, null\r\n _old_currentIndex: + %SystemInt32, null\r\n __object_0: %SystemObject, null\r\n __result_0: + %SystemBoolean, null\r\n __instance_A: %UnityEngineGameObject, this\r\n + __value_3: %SystemBoolean, null\r\n __instance_9: %UnityEngineGameObjectArray, + null\r\n __Int32_C: %SystemInt32, null\r\n __instance_B: %UnityEngineUIText, + null\r\n __value_4: %SystemString, null\r\n __instance_C: %UnityEngineGameObject, + this\r\n __instance_D: %UnityEngineGameObjectArray, null\r\n __Int32_D: + %SystemInt32, null\r\n __instance_E: %UnityEngineGameObject, this\r\n __value_5: + %SystemBoolean, null\r\n __instance_F: %UnityEngineGameObjectArray, null\r\n + __Int32_E: %SystemInt32, null\r\n __name_0: %SystemString, null\r\n objects: + %UnityEngineGameObjectArray, null\r\n currentIndex: %SystemInt32, null\r\n + ActiveSceneLabel: %UnityEngineUIText, null\r\n lastIndex: %SystemInt32, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export ONext\r\n \r\n ONext:\r\n \r\n PUSH, currentIndex\r\n + PUSH, __Int32_3\r\n PUSH, __Int32_0\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, objects\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, + __instance_1\r\n PUSH, __Int32_1\r\n EXTERN, \"UnityEngineGameObjectArray.__get_Length__SystemInt32\"\r\n + PUSH, __Int32_0\r\n PUSH, __Int32_1\r\n PUSH, __value_0\r\n + EXTERN, \"SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32\"\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_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export OPrevious\r\n \r\n OPrevious:\r\n + \r\n PUSH, currentIndex\r\n PUSH, __Int32_7\r\n PUSH, __Int32_4\r\n + EXTERN, \"SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __Int32_4\r\n PUSH, __Int32_5\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000178\r\n PUSH, objects\r\n + PUSH, __instance_4\r\n COPY\r\n PUSH, __instance_4\r\n PUSH, + __Int32_8\r\n EXTERN, \"UnityEngineGameObjectArray.__get_Length__SystemInt32\"\r\n + PUSH, __Int32_8\r\n PUSH, __Int32_9\r\n PUSH, __value_1\r\n + EXTERN, \"SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __instance_3\r\n PUSH, __symbolName_1\r\n PUSH, __value_1\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_5\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0x000001BC\r\n PUSH, __Int32_4\r\n PUSH, __value_2\r\n + COPY\r\n PUSH, __instance_6\r\n PUSH, __symbolName_2\r\n + PUSH, __Int32_4\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_5\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export Next\r\n \r\n Next:\r\n \r\n + PUSH, __instance_7\r\n PUSH, __target_0\r\n PUSH, __eventName_0\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export Previous\r\n \r\n Previous:\r\n + \r\n PUSH, __instance_8\r\n PUSH, __target_1\r\n PUSH, __eventName_1\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_currentIndex\r\n \r\n + _onVarChange_currentIndex:\r\n \r\n PUSH, _old_currentIndex\r\n + PUSH, __Int32_B\r\n PUSH, __Boolean_1\r\n EXTERN, \"SystemInt32.__op_GreaterThanOrEqual__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n JUMP_IF_FALSE, 0x000002F0\r\n PUSH, objects\r\n + PUSH, __instance_9\r\n COPY\r\n PUSH, __instance_9\r\n PUSH, + _old_currentIndex\r\n PUSH, __object_0\r\n EXTERN, \"UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject\"\r\n + PUSH, __object_0\r\n PUSH, __result_0\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_0\r\n JUMP_IF_FALSE, 0x000002E8\r\n PUSH, objects\r\n + PUSH, __instance_9\r\n COPY\r\n PUSH, __object_0\r\n PUSH, + __instance_A\r\n COPY\r\n PUSH, __object_0\r\n PUSH, __value_3\r\n + EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n + JUMP, 0x000002E8\r\n JUMP, 0x000002F0\r\n PUSH, ActiveSceneLabel\r\n + PUSH, __instance_B\r\n COPY\r\n PUSH, objects\r\n PUSH, + __instance_D\r\n COPY\r\n PUSH, __instance_D\r\n PUSH, currentIndex\r\n + PUSH, __instance_C\r\n EXTERN, \"UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject\"\r\n + PUSH, __instance_C\r\n PUSH, __value_4\r\n EXTERN, \"UnityEngineGameObject.__get_name__SystemString\"\r\n + PUSH, __instance_B\r\n PUSH, __value_4\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + PUSH, objects\r\n PUSH, __instance_F\r\n COPY\r\n PUSH, + __instance_F\r\n PUSH, currentIndex\r\n PUSH, __instance_E\r\n + EXTERN, \"UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject\"\r\n + PUSH, __instance_E\r\n PUSH, __value_5\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: Variable_UnityEngineGameObjectArray + uid: 114cd794-c32c-4fb8-928a-67b42850c459 + position: {x: -3435, y: -740} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|objects + - 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: 1764007d-c532-440b-a692-0477670e72ac + position: {x: -360, y: -310} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|114cd794-c32c-4fb8-928a-67b42850c459 + - fullName: Variable_SystemInt32 + uid: d1cb9970-2449-472c-8b64-269d3c6c31b9 + position: {x: -15573.1875, y: -3136.4202} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|currentIndex + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_Custom + uid: 59cecd06-604b-4f2d-8cdb-db0ba8b3d5f8 + position: {x: -60, y: -860} + nodeUIDs: + - + flowUIDs: + - b0f7dd71-0a7d-4c43-bcb3-db10f0c1643a + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ONext + - fullName: Event_Custom + uid: 5d830b2c-235e-4b8f-b0f5-d135d21b5a7a + position: {x: -300, y: -210} + nodeUIDs: + - + flowUIDs: + - bfb102d1-3e5d-4373-87bf-718e9a7893b5 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OPrevious + - fullName: Get_Variable + uid: 9c600adc-a3e9-45e6-91f6-86e91deb8805 + position: {x: -380, y: -760} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d1cb9970-2449-472c-8b64-269d3c6c31b9 + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 4be3a3d6-c52a-4611-bd96-2ae0092a4b30 + position: {x: -160, y: -750} + nodeUIDs: + - 9c600adc-a3e9-45e6-91f6-86e91deb8805|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32 + uid: 0a849387-d3a2-4123-8ca2-96ad6883e690 + position: {x: -320, y: -60} + nodeUIDs: + - cc997b83-15fc-4782-97d5-caf90f947df6|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32 + uid: 8a3e7676-6843-4e26-befa-56c18ff156c1 + position: {x: -20, y: -720} + nodeUIDs: + - 4be3a3d6-c52a-4611-bd96-2ae0092a4b30|0 + - 701a563c-611e-4a9a-a51e-934c66831f2e|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineGameObjectArray.__get_Length__SystemInt32 + uid: 701a563c-611e-4a9a-a51e-934c66831f2e + position: {x: -180, y: -630} + nodeUIDs: + - 700dfb19-08ba-4fc9-b838-cd0d2071c511|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: b0f7dd71-0a7d-4c43-bcb3-db10f0c1643a + position: {x: 160, y: -770} + nodeUIDs: + - + - 8a3e7676-6843-4e26-befa-56c18ff156c1|0 + - + flowUIDs: + - 3498f397-8511-4284-9635-8f797c82c8ca + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d1cb9970-2449-472c-8b64-269d3c6c31b9 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Set_Variable + uid: e518ff62-68ff-49af-9d5c-33b9bca3cf0e + position: {x: 200, y: -350} + nodeUIDs: + - + - 892b82bd-9b41-41b0-84b4-80e80b0298e5|0 + - + flowUIDs: + - 41b5117e-cf39-4e9e-bd8a-e1f672b03021 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d1cb9970-2449-472c-8b64-269d3c6c31b9 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean + uid: 48b7726e-5967-43d9-b50e-825b1a6dc29e + position: {x: -140, y: -120} + nodeUIDs: + - 0a849387-d3a2-4123-8ca2-96ad6883e690|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Branch + uid: bfb102d1-3e5d-4373-87bf-718e9a7893b5 + position: {x: 40, y: -190} + nodeUIDs: + - 48b7726e-5967-43d9-b50e-825b1a6dc29e|0 + flowUIDs: + - e518ff62-68ff-49af-9d5c-33b9bca3cf0e + - bdc67534-bf69-47d4-8414-ebdfec6bc491 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32 + uid: 892b82bd-9b41-41b0-84b4-80e80b0298e5 + position: {x: 20, y: -300} + nodeUIDs: + - 086912a9-ff6c-4435-8d61-905c33bd5274|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Set_Variable + uid: bdc67534-bf69-47d4-8414-ebdfec6bc491 + position: {x: 200, y: -100} + nodeUIDs: + - + - 0a849387-d3a2-4123-8ca2-96ad6883e690|0 + - + flowUIDs: + - 41b5117e-cf39-4e9e-bd8a-e1f672b03021 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d1cb9970-2449-472c-8b64-269d3c6c31b9 + - 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: 1918b7f3-2fe3-44a6-8c7f-ebfce361ab7a + position: {x: -150, y: 840} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|114cd794-c32c-4fb8-928a-67b42850c459 + - fullName: UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject + uid: 00bdd8b8-7a40-4ec3-b939-4c1abd5d44fe + position: {x: 50, y: 880} + nodeUIDs: + - 1918b7f3-2fe3-44a6-8c7f-ebfce361ab7a|0 + - 23600a7e-c07f-40b7-93a9-4bac4163ed88|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineGameObject.__get_name__SystemString + uid: 063aa2db-59fe-48dd-a2fb-8da58ee61b1d + position: {x: 320, y: 870} + nodeUIDs: + - 00bdd8b8-7a40-4ec3-b939-4c1abd5d44fe|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineUIText + uid: c7caeac0-5c1a-469b-9098-23ae0fb2cea8 + 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|ActiveSceneLabel + - 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: 3918642c-9b91-4d08-a400-cbca7750d9df + position: {x: 320, y: 770} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|c7caeac0-5c1a-469b-9098-23ae0fb2cea8 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: ec526b86-6ebe-4f1a-9e8e-d45d9ed63a65 + position: {x: 620, y: 750} + nodeUIDs: + - 3918642c-9b91-4d08-a400-cbca7750d9df|0 + - 063aa2db-59fe-48dd-a2fb-8da58ee61b1d|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: 0d0deb2f-9e47-4bbb-9812-2f3d545de877 + position: {x: 480, y: 1120} + nodeUIDs: + - ea0d09fc-fd23-422e-a238-058d53f1af92 + - + flowUIDs: + - + nodeValues: + - 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: f16ab31c-f3a5-4f80-ad6b-0c72e38b8e1b + position: {x: -20, y: 1220} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|114cd794-c32c-4fb8-928a-67b42850c459 + - fullName: UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject + uid: ea0d09fc-fd23-422e-a238-058d53f1af92 + position: {x: 200, y: 1230} + nodeUIDs: + - f16ab31c-f3a5-4f80-ad6b-0c72e38b8e1b + - 23600a7e-c07f-40b7-93a9-4bac4163ed88|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineGameObjectArray.__get_Length__SystemInt32 + uid: 086912a9-ff6c-4435-8d61-905c33bd5274 + position: {x: -140, y: -300} + nodeUIDs: + - 1764007d-c532-440b-a692-0477670e72ac|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 3498f397-8511-4284-9635-8f797c82c8ca + position: {x: 340, y: -770} + nodeUIDs: + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 41b5117e-cf39-4e9e-bd8a-e1f672b03021 + position: {x: 380, y: -210} + nodeUIDs: + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 700dfb19-08ba-4fc9-b838-cd0d2071c511 + position: {x: -400, y: -640} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|114cd794-c32c-4fb8-928a-67b42850c459 + - fullName: Get_Variable + uid: cc997b83-15fc-4782-97d5-caf90f947df6 + position: {x: -500, y: -60} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d1cb9970-2449-472c-8b64-269d3c6c31b9 + - fullName: UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject + uid: 7967fe63-251f-40ec-8d59-b0c72417fdea + position: {x: 240, y: 510} + nodeUIDs: + - 5773bb37-c1e7-484c-85c1-2f406ec57a70 + - 23600a7e-c07f-40b7-93a9-4bac4163ed88|1 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 5773bb37-c1e7-484c-85c1-2f406ec57a70 + position: {x: 20, y: 490} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|114cd794-c32c-4fb8-928a-67b42850c459 + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: d0bf8311-ed48-4896-8bda-06534b752dea + position: {x: 580, y: 490} + nodeUIDs: + - 7967fe63-251f-40ec-8d59-b0c72417fdea + - + 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_SystemInt32 + uid: 95d83063-7970-4962-8271-ac34d6edfac9 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|lastIndex + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_Custom + uid: efb34612-237e-4c6d-bebb-22b3bdf7b54b + position: {x: -910, y: -770} + nodeUIDs: + - + flowUIDs: + - 811666fa-de95-4d4b-89a6-861d616445d2 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Next + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid + uid: 811666fa-de95-4d4b-89a6-861d616445d2 + position: {x: -690, y: -770} + nodeUIDs: + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|Owner + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ONext + - fullName: Event_Custom + uid: d3164b93-d3ee-4a30-b0dd-30160665c43e + position: {x: -1020, y: -240} + nodeUIDs: + - + flowUIDs: + - 94b67efe-35c6-470a-a5a5-2d48cacf05af + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Previous + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid + uid: 94b67efe-35c6-470a-a5a5-2d48cacf05af + position: {x: -800, y: -240} + nodeUIDs: + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|Owner + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OPrevious + - fullName: Is_Valid + uid: 3f7eda8f-9e8f-436e-905f-911098fc7077 + position: {x: 440, y: 350} + nodeUIDs: + - 7967fe63-251f-40ec-8d59-b0c72417fdea|0 + flowUIDs: + - d0bf8311-ed48-4896-8bda-06534b752dea + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Block + uid: 34b6618f-ba21-48de-bf0e-8a336e275f29 + position: {x: -300, y: 300} + nodeUIDs: [] + flowUIDs: + - dc7a240f-c4f6-45d2-94d5-d319aecb934c + - ec526b86-6ebe-4f1a-9e8e-d45d9ed63a65 + - 0d0deb2f-9e47-4bbb-9812-2f3d545de877 + - + nodeValues: [] + - fullName: Branch + uid: dc7a240f-c4f6-45d2-94d5-d319aecb934c + position: {x: 260, y: 310} + nodeUIDs: + - bf6bfe5e-b467-461e-82c6-5c629dffa1bf|0 + flowUIDs: + - 3f7eda8f-9e8f-436e-905f-911098fc7077 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemInt32.__op_GreaterThanOrEqual__SystemInt32_SystemInt32__SystemBoolean + uid: bf6bfe5e-b467-461e-82c6-5c629dffa1bf + position: {x: -20, y: 350} + nodeUIDs: + - 23600a7e-c07f-40b7-93a9-4bac4163ed88|1 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Event_OnVariableChange + uid: 23600a7e-c07f-40b7-93a9-4bac4163ed88 + position: {x: -520, y: 300} + nodeUIDs: + - + flowUIDs: + - 34b6618f-ba21-48de-bf0e-8a336e275f29 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d1cb9970-2449-472c-8b64-269d3c6c31b9 + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 2 + uid: c4655ac2-3f1e-4e0a-bbfd-8afc1dfe5fbf + jsonData: '{"uid":"c4655ac2-3f1e-4e0a-bbfd-8afc1dfe5fbf","layout":{"serializedVersion":"2","x":-180.0,"y":690.0,"width":969.0,"height":326.0},"containedElements":["604f1043-6eff-4053-a1c7-dc7ef4deffa8","ec526b86-6ebe-4f1a-9e8e-d45d9ed63a65","3918642c-9b91-4d08-a400-cbca7750d9df","063aa2db-59fe-48dd-a2fb-8da58ee61b1d","00bdd8b8-7a40-4ec3-b939-4c1abd5d44fe","1918b7f3-2fe3-44a6-8c7f-ebfce361ab7a","2c7ea408-a020-483c-b0ae-557028637b5c"],"title":"RefreshLabel","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 544a0f65-85fd-49ad-a4ec-0ccc7c937d43 + jsonData: '{"uid":"544a0f65-85fd-49ad-a4ec-0ccc7c937d43","layout":{"serializedVersion":"2","x":-940.0,"y":-920.0,"width":1708.0,"height":403.0},"containedElements":["b0f7dd71-0a7d-4c43-bcb3-db10f0c1643a","8a3e7676-6843-4e26-befa-56c18ff156c1","4be3a3d6-c52a-4611-bd96-2ae0092a4b30","59cecd06-604b-4f2d-8cdb-db0ba8b3d5f8","e54eaa82-4207-4867-a108-ff7bc2765776","3506018f-39ca-4bb4-9a5a-5a3afba95cf5","70bd7b77-77ef-4c7b-a119-b3231295c349","84254bb0-f700-4192-bf02-95db65fed6e9","19ad174f-b087-4974-9fff-825075edcbfd","16487d76-94cf-4a65-9b0e-2776f0b68f60","fa17e58f-d383-400b-b530-76a9e255a73a","1c4e775a-5342-4474-aa4b-1d29c4cd3bd7","215da8e8-1fa4-48a7-b413-be539f3900cd","cc436267-b32e-4ba9-8852-47aa4ecf893e","cfe61e72-a716-494e-aff3-e5fef6f4d171","9dc7d023-dde4-4a6a-8151-1912c933c97f","701a563c-611e-4a9a-a51e-934c66831f2e","9c600adc-a3e9-45e6-91f6-86e91deb8805","700dfb19-08ba-4fc9-b838-cd0d2071c511","02121cba-5e4e-432c-9953-89ab95fd2570","5be6c8f3-130c-4033-b3b3-0d1a6540e372","1736915a-1d18-4c10-ba9e-1f850ab78cb5","0fe701bb-2fb8-4eb5-be44-48b334695ede","2963b369-55d0-4036-bf91-87acdbc8f7ef","3498f397-8511-4284-9635-8f797c82c8ca","c71432c2-e024-4af8-b78e-92f70798075f","811666fa-de95-4d4b-89a6-861d616445d2","efb34612-237e-4c6d-bebb-22b3bdf7b54b","760a927d-631d-4243-b9cc-1cd68d0a2e32"],"title":"Next + Scene","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 970feb74-d527-4a75-8fec-60aedb109bd2 + jsonData: '{"uid":"970feb74-d527-4a75-8fec-60aedb109bd2","layout":{"serializedVersion":"2","x":-1035.0,"y":-410.0,"width":1919.0,"height":489.0},"containedElements":["5d830b2c-235e-4b8f-b0f5-d135d21b5a7a","48b7726e-5967-43d9-b50e-825b1a6dc29e","0a849387-d3a2-4123-8ca2-96ad6883e690","bfb102d1-3e5d-4373-87bf-718e9a7893b5","e518ff62-68ff-49af-9d5c-33b9bca3cf0e","bdc67534-bf69-47d4-8414-ebdfec6bc491","892b82bd-9b41-41b0-84b4-80e80b0298e5","6ca7dc16-3d3c-4ac3-af83-7201fc858e44","1b688705-7b2b-46e7-b854-9ebc84631c50","f40a5ab3-e578-474f-8d81-5e09d9b80f71","e9ede3d3-0773-4fad-9a29-0cf332d179ec","09d3f556-c4bc-496c-a671-82dec8de55b2","9757f9fa-ba0e-451b-9ebd-f73e638e49f1","33c5d74e-f0d2-4ec0-b9fd-7df54d6861bc","9b6ab694-4be1-4c3b-8dbb-95aa542633bd","f1a9aede-3508-414f-914b-338fe71a03a2","471831e4-0ff7-4eab-b1da-3787dc31b25a","d30e4c9f-97ab-4e89-9a30-a5a8dc7dcd52","0389e486-8c27-466b-b302-4dabb1eb6a0d","68b4ef81-cf21-4030-810c-e611405b55dc","7fa6a86c-69f2-43c3-9580-66864f139dcc","576bc770-de8d-4830-bb48-ca2759602a07","97079908-c80b-44f9-8363-3bd57ec53067","0bf87b02-06ad-4848-8b38-e4c5b9668da6","f4f2382d-8347-468d-9ecc-d618d56394ba","086912a9-ff6c-4435-8d61-905c33bd5274","1764007d-c532-440b-a692-0477670e72ac","cc997b83-15fc-4782-97d5-caf90f947df6","da8224eb-1717-4430-bd79-0a81ff3330f4","af152fe5-8ae9-4154-8f19-584c20b0fc06","9b720c16-7cd0-4402-805c-5b68a0937ad4","014efedc-8c89-45db-a18c-1f956cc5e104","13879123-2b3c-4004-83c7-e412a00f1bb2","6a58fd0c-5234-440d-af58-797d9e67b22f","e20917da-f61c-4466-8747-50af26b761bc","88b3b12e-82f2-4556-8e30-f867825ec9dd","41b5117e-cf39-4e9e-bd8a-e1f672b03021","f52e9b15-5818-4789-bb38-4ac1935a6fbd","f47e6ff3-3bdb-4fec-b32f-dd0c42c67d15","94b67efe-35c6-470a-a5a5-2d48cacf05af","d3164b93-d3ee-4a30-b0dd-30160665c43e"],"title":"Previous + Scene","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 220d906e-741c-4f73-90f5-3ee64ecea886 + jsonData: '{"uid":"220d906e-741c-4f73-90f5-3ee64ecea886","layout":{"serializedVersion":"2","x":-40.0,"y":1060.0,"width":689.0,"height":306.0},"containedElements":["ea0d09fc-fd23-422e-a238-058d53f1af92","f16ab31c-f3a5-4f80-ad6b-0c72e38b8e1b","5156a3a2-a9bb-4b7d-988b-46e920260972","0d0deb2f-9e47-4bbb-9812-2f3d545de877"],"title":"Set + New Scene Active","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 755f19aa-81b6-4d09-ad1b-57c17236f39a + jsonData: '{"uid":"755f19aa-81b6-4d09-ad1b-57c17236f39a","layout":{"serializedVersion":"2","x":-40.0,"y":250.0,"width":789.0,"height":400.0},"containedElements":["3f7eda8f-9e8f-436e-905f-911098fc7077","92a482c1-3a9f-45e2-a23b-d7747ce171a5","d0bf8311-ed48-4896-8bda-06534b752dea","5773bb37-c1e7-484c-85c1-2f406ec57a70","7967fe63-251f-40ec-8d59-b0c72417fdea","dc7a240f-c4f6-45d2-94d5-d319aecb934c","bf6bfe5e-b467-461e-82c6-5c629dffa1bf"],"title":"Set + last scene Inactive","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: 44a4027a-7d8c-4450-96b5-bc970e00c986 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":219.0,"height":262.0}}' + - type: 4 + uid: 175503d6-0240-48f0-8025-74ddd0371984 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 700.1234, y: 459.86627} + scale: 0.43232757 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Chooser.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Chooser.asset.meta new file mode 100644 index 00000000..29a6db52 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Chooser.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0f3632a4c15254e4185e597a9b553015 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/CubeArraySync.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/CubeArraySync.asset new file mode 100644 index 00000000..463ba42f --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/CubeArraySync.asset @@ -0,0 +1,378 @@ +%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: CubeArraySync + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 44e926843d1e5254eb8a0334dc661ad0, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export cubes\r\n .sync data, none\r\n + \r\n __index_0: %SystemInt32, null\r\n __condition_0: %SystemBoolean, null\r\n + __instance_1: %SystemBooleanArray, null\r\n __Int32_0: %SystemInt32, null\r\n + __Boolean_0: %SystemBoolean, null\r\n __start_0: %SystemInt32, null\r\n + __end_0: %SystemInt32, null\r\n __step_0: %SystemInt32, null\r\n __instance_0: + %SystemBooleanArray, null\r\n __Single_0: %SystemSingle, null\r\n __Single_1: + %SystemSingle, null\r\n __instance_2: %VRCUdonUdonBehaviour, this\r\n __instance_3: + %VRCUdonUdonBehaviour, this\r\n __eventName_0: %SystemString, null\r\n + __instance_4: %VRCUdonUdonBehaviour, this\r\n __eventName_1: %SystemString, + null\r\n __instance_5: %VRCUdonUdonBehaviour, this\r\n __target_0: %VRCUdonCommonInterfacesNetworkEventTarget, + null\r\n __eventName_2: %SystemString, null\r\n __index_1: %SystemInt32, + null\r\n __condition_1: %SystemBoolean, null\r\n __instance_7: %UnityEngineGameObject, + this\r\n __value_0: %SystemBoolean, null\r\n __instance_8: %UnityEngineGameObjectArray, + null\r\n __Int32_1: %SystemInt32, null\r\n __instance_9: %SystemBooleanArray, + null\r\n __Int32_2: %SystemInt32, null\r\n __start_1: %SystemInt32, null\r\n + __end_1: %SystemInt32, null\r\n __step_1: %SystemInt32, null\r\n __instance_6: + %UnityEngineGameObjectArray, null\r\n cubes: %UnityEngineGameObjectArray, + null\r\n data: %SystemBooleanArray, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export Randomize\r\n \r\n Randomize:\r\n \r\n PUSH, data\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __end_0\r\n EXTERN, \"SystemBooleanArray.__get_Length__SystemInt32\"\r\n + PUSH, __start_0\r\n PUSH, __index_0\r\n COPY\r\n PUSH, __index_0\r\n + PUSH, __end_0\r\n PUSH, __condition_0\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __condition_0\r\n JUMP_IF_FALSE, 0x00000124\r\n PUSH, data\r\n + PUSH, __instance_1\r\n COPY\r\n PUSH, data\r\n PUSH, __instance_0\r\n + COPY\r\n PUSH, __index_0\r\n PUSH, __Int32_0\r\n COPY\r\n + PUSH, __Single_0\r\n EXTERN, \"UnityEngineRandom.__get_value__SystemSingle\"\r\n + PUSH, __Single_0\r\n PUSH, __Single_1\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __instance_1\r\n PUSH, __Int32_0\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemBooleanArray.__Set__SystemInt32_SystemBoolean__SystemVoid\"\r\n + PUSH, __index_0\r\n PUSH, __step_0\r\n PUSH, __index_0\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + JUMP, 0x00000040\r\n PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + PUSH, __instance_3\r\n PUSH, __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onDeserialization\r\n \r\n _onDeserialization:\r\n + \r\n PUSH, __instance_4\r\n PUSH, __eventName_1\r\n EXTERN, + \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _interact\r\n \r\n _interact:\r\n + \r\n PUSH, __instance_5\r\n PUSH, __target_0\r\n PUSH, __eventName_2\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export UpdateCubes\r\n \r\n UpdateCubes:\r\n + \r\n PUSH, cubes\r\n PUSH, __instance_6\r\n COPY\r\n + PUSH, __instance_6\r\n PUSH, __end_1\r\n EXTERN, \"UnityEngineGameObjectArray.__get_Length__SystemInt32\"\r\n + PUSH, __start_1\r\n PUSH, __index_1\r\n COPY\r\n PUSH, __index_1\r\n + PUSH, __end_1\r\n PUSH, __condition_1\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __condition_1\r\n JUMP_IF_FALSE, 0x00000304\r\n PUSH, cubes\r\n + PUSH, __instance_8\r\n COPY\r\n PUSH, cubes\r\n PUSH, __instance_6\r\n + COPY\r\n PUSH, __index_1\r\n PUSH, __Int32_1\r\n COPY\r\n + PUSH, __instance_8\r\n PUSH, __Int32_1\r\n PUSH, __instance_7\r\n + EXTERN, \"UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject\"\r\n + PUSH, data\r\n PUSH, __instance_9\r\n COPY\r\n PUSH, cubes\r\n + PUSH, __instance_6\r\n COPY\r\n PUSH, __index_1\r\n PUSH, + __Int32_2\r\n COPY\r\n PUSH, __instance_9\r\n PUSH, __Int32_2\r\n + PUSH, __value_0\r\n EXTERN, \"SystemBooleanArray.__Get__SystemInt32__SystemBoolean\"\r\n + PUSH, __instance_7\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n + PUSH, __index_1\r\n PUSH, __step_1\r\n PUSH, __index_1\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + JUMP, 0x000001DC\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_UnityEngineGameObjectArray + uid: 5360930d-13df-43e8-850f-486bb64937ca + 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|cubes + - 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_Custom + uid: 4e897e4b-2fef-4da3-b17b-ebe77a246d9d + position: {x: 560, y: 600} + nodeUIDs: + - + flowUIDs: + - ffb79d13-2f60-4dd5-b9be-b97f4e131345 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Randomize + - fullName: Get_Variable + uid: 0aa22e48-758d-4d49-a0b9-4dc7c775e813 + position: {x: 750, y: 1220} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5360930d-13df-43e8-850f-486bb64937ca + - fullName: For + uid: cc3a85f4-5359-4bc9-9ea6-4b5ee2fef01b + position: {x: 1180, y: 1110} + nodeUIDs: + - + - 03a619e8-9825-4997-abfc-68d4c826bd88|0 + - + flowUIDs: + - 405ac6d3-cee7-4374-b472-9bda9550ede4 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: UnityEngineGameObjectArray.__Get__SystemInt32__UnityEngineGameObject + uid: 4e0a8048-c5e8-4ac2-90d4-196ef4702323 + position: {x: 1380, y: 1220} + nodeUIDs: + - 0aa22e48-758d-4d49-a0b9-4dc7c775e813|0 + - cc3a85f4-5359-4bc9-9ea6-4b5ee2fef01b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineGameObjectArray.__get_Length__SystemInt32 + uid: 03a619e8-9825-4997-abfc-68d4c826bd88 + position: {x: 950, y: 1300} + nodeUIDs: + - 0aa22e48-758d-4d49-a0b9-4dc7c775e813|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: 405ac6d3-cee7-4374-b472-9bda9550ede4 + position: {x: 1730, y: 1110} + nodeUIDs: + - 4e0a8048-c5e8-4ac2-90d4-196ef4702323|0 + - ef9d2a2a-6ed2-4edd-a680-2c5880c2e9b5|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: UnityEngineRandom.__get_value__SystemSingle + uid: cd47f869-3ea1-4baa-a0d3-908655d307e0 + position: {x: 900, y: 880} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: 06f0d0b2-f733-40bb-a0ea-e506ef8f26fa + position: {x: 1040, y: 880} + nodeUIDs: + - cd47f869-3ea1-4baa-a0d3-908655d307e0|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.5 + - fullName: Variable_SystemBooleanArray + uid: 1e13b26c-3342-46eb-8acf-60711f4e118b + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean[], mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|{"value":[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|data + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Get_Variable + uid: c55ccf7e-b87e-4cae-94f0-246d97c78612 + position: {x: 600, y: 500} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1e13b26c-3342-46eb-8acf-60711f4e118b + - fullName: For + uid: ffb79d13-2f60-4dd5-b9be-b97f4e131345 + position: {x: 980, y: 600} + nodeUIDs: + - + - 26ace6f3-5bd5-4124-933c-d21aca8f6ab7|0 + - + flowUIDs: + - 79dab4b8-31c7-4fd8-9ac8-80dafb9f3650 + - e09db55e-d4ba-4117-8b7b-ae7532cb6c46 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: SystemBooleanArray.__get_Length__SystemInt32 + uid: 26ace6f3-5bd5-4124-933c-d21aca8f6ab7 + position: {x: 780, y: 680} + nodeUIDs: + - c55ccf7e-b87e-4cae-94f0-246d97c78612|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemBooleanArray.__Set__SystemInt32_SystemBoolean__SystemVoid + uid: 79dab4b8-31c7-4fd8-9ac8-80dafb9f3650 + position: {x: 1220, y: 480} + nodeUIDs: + - c55ccf7e-b87e-4cae-94f0-246d97c78612|0 + - ffb79d13-2f60-4dd5-b9be-b97f4e131345|0 + - 06f0d0b2-f733-40bb-a0ea-e506ef8f26fa|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: e09db55e-d4ba-4117-8b7b-ae7532cb6c46 + position: {x: 1500, y: 620} + nodeUIDs: + - + flowUIDs: + - 38fffd0f-d1af-4389-8721-7b1453a99dd6 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 83b6766a-6eac-4e52-8ef6-cb7e2204f5f8 + position: {x: 1000, y: 1400} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1e13b26c-3342-46eb-8acf-60711f4e118b + - fullName: SystemBooleanArray.__Get__SystemInt32__SystemBoolean + uid: ef9d2a2a-6ed2-4edd-a680-2c5880c2e9b5 + position: {x: 1380, y: 1340} + nodeUIDs: + - 83b6766a-6eac-4e52-8ef6-cb7e2204f5f8|0 + - cc3a85f4-5359-4bc9-9ea6-4b5ee2fef01b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 38fffd0f-d1af-4389-8721-7b1453a99dd6 + position: {x: 1720, y: 620} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|UpdateCubes + - fullName: Event_OnDeserialization + uid: f340d123-5bd5-4319-be5c-8ca8df5bcc1e + position: {x: 1500, y: 520} + nodeUIDs: [] + flowUIDs: + - 38fffd0f-d1af-4389-8721-7b1453a99dd6 + nodeValues: [] + - fullName: Event_Interact + uid: e0ce90c5-9c20-490c-b010-b95d75f08a81 + position: {x: 1080, y: 200} + nodeUIDs: [] + flowUIDs: + - 70df627a-4d14-4789-8e3c-924f082263ae + nodeValues: [] + - fullName: Event_Custom + uid: 2de936a7-5fdb-4b25-8dde-fef239f43e70 + position: {x: 970, y: 1110} + nodeUIDs: + - + flowUIDs: + - cc3a85f4-5359-4bc9-9ea6-4b5ee2fef01b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|UpdateCubes + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid + uid: 70df627a-4d14-4789-8e3c-924f082263ae + position: {x: 1200, y: 200} + nodeUIDs: + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|Owner + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Randomize + updateOrder: 0 + graphElementData: + - type: 2 + uid: b51df525-35d4-4f31-bff0-d227540fc175 + jsonData: '{"uid":"b51df525-35d4-4f31-bff0-d227540fc175","layout":{"serializedVersion":"2","x":540.0,"y":420.0,"width":1444.0,"height":533.0},"containedElements":["f340d123-5bd5-4319-be5c-8ca8df5bcc1e","38fffd0f-d1af-4389-8721-7b1453a99dd6","e09db55e-d4ba-4117-8b7b-ae7532cb6c46","79dab4b8-31c7-4fd8-9ac8-80dafb9f3650","26ace6f3-5bd5-4124-933c-d21aca8f6ab7","ffb79d13-2f60-4dd5-b9be-b97f4e131345","c55ccf7e-b87e-4cae-94f0-246d97c78612","06f0d0b2-f733-40bb-a0ea-e506ef8f26fa","cd47f869-3ea1-4baa-a0d3-908655d307e0","4e897e4b-2fef-4da3-b17b-ebe77a246d9d","31400b94-4a2a-4530-acbc-063df7c943c4","e9066322-ebc1-4a45-9563-41f8817e6265","4c5f3e57-4a9e-4a0b-ae64-45fabb608268"],"title":"Randomize + Cubes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 31dfa9cc-4fa0-4647-a677-317011698222 + jsonData: '{"uid":"31dfa9cc-4fa0-4647-a677-317011698222","layout":{"serializedVersion":"2","x":725.0,"y":1045.0,"width":1177.0,"height":457.0},"containedElements":["2de936a7-5fdb-4b25-8dde-fef239f43e70","ef9d2a2a-6ed2-4edd-a680-2c5880c2e9b5","83b6766a-6eac-4e52-8ef6-cb7e2204f5f8","405ac6d3-cee7-4374-b472-9bda9550ede4","03a619e8-9825-4997-abfc-68d4c826bd88","4e0a8048-c5e8-4ac2-90d4-196ef4702323","cc3a85f4-5359-4bc9-9ea6-4b5ee2fef01b","0aa22e48-758d-4d49-a0b9-4dc7c775e813"],"title":"Update + Cubes from data","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 98c2ed31-1dc4-4e7f-958c-5ed158c3fab0 + jsonData: '{"uid":"98c2ed31-1dc4-4e7f-958c-5ed158c3fab0","layout":{"serializedVersion":"2","x":1060.0,"y":135.0,"width":434.0,"height":244.0},"containedElements":["70df627a-4d14-4789-8e3c-924f082263ae","e0ce90c5-9c20-490c-b010-b95d75f08a81"],"title":"Send + Randomize on Interact","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 31400b94-4a2a-4530-acbc-063df7c943c4 + jsonData: '{"uid":"31400b94-4a2a-4530-acbc-063df7c943c4","layout":{"serializedVersion":"2","x":765.0,"y":825.0,"width":128.0,"height":68.75001525878906},"title":"Random + Bool","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: abbbf069-4f8e-47c0-afff-a1c219477d75 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":12.0,"y":35.0,"width":164.0,"height":322.0}}' + - type: 4 + uid: e0e26e8f-756e-4a63-844b-3a6caa936f11 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -25.01839, y: -71.126884} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/CubeArraySync.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/CubeArraySync.asset.meta new file mode 100644 index 00000000..8815e48e --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/CubeArraySync.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2a34c3726f5aaca4c9b05004c07eb5c6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/DropdownSync.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/DropdownSync.asset new file mode 100644 index 00000000..85590062 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/DropdownSync.asset @@ -0,0 +1,278 @@ +%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: DropdownSync + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 7b91526d878b29a43989fdbf06091c6e, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiDropdown\r\n .sync dropdownValue, + none\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n __Int32_0: %SystemInt32, + null\r\n __Int32_1: %SystemInt32, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi, + null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_1: %VRCUdonUdonBehaviour, + this\r\n __symbolName_0: %SystemString, null\r\n __value_0: %SystemObject, + null\r\n __instance_0: %UnityEngineUIDropdown, null\r\n __instance_2: %VRCUdonUdonBehaviour, + this\r\n __instance_3: %UnityEngineUIDropdown, null\r\n __value_1: %SystemInt32, + null\r\n __name_0: %SystemString, null\r\n uiDropdown: %UnityEngineUIDropdown, + null\r\n dropdownValue: %SystemInt32, null\r\n __returnValue: %SystemObject, + null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export OnValueChanged\r\n + \r\n OnValueChanged:\r\n \r\n PUSH, uiDropdown\r\n PUSH, + __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, __Int32_0\r\n + EXTERN, \"UnityEngineUIDropdown.__get_value__SystemInt32\"\r\n PUSH, __Int32_0\r\n + PUSH, dropdownValue\r\n PUSH, __Boolean_0\r\n EXTERN, \"SystemInt32.__op_Inequality__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000E4\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, uiDropdown\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + __Int32_0\r\n PUSH, __value_0\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __symbolName_0\r\n PUSH, __Int32_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0x000000E4\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_dropdownValue\r\n + \r\n _onVarChange_dropdownValue:\r\n \r\n PUSH, uiDropdown\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n PUSH, + dropdownValue\r\n EXTERN, \"UnityEngineUIDropdown.__set_value__SystemInt32__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Get_Variable + uid: 0cb40eff-4fec-4eed-ba1d-89008fe8cf27 + position: {x: -480, y: -510} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13 + - fullName: Set_Variable + uid: 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c + position: {x: 380, y: -560} + nodeUIDs: + - + - 2e9330b2-2126-4972-9455-b5e87ce4daef|0 + - + flowUIDs: + - ae888b9b-5f27-40f5-a1ea-1baa70f8b0fa + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Variable_UnityEngineUIDropdown + uid: f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13 + position: {x: 188, y: -432} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiDropdown + - 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_SystemInt32 + uid: ea620532-514e-483b-8dc0-9d9ae3a645d2 + position: {x: -444, y: -852} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|dropdownValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: UnityEngineUIDropdown.__get_value__SystemInt32 + uid: 2e9330b2-2126-4972-9455-b5e87ce4daef + position: {x: -260, y: -510} + nodeUIDs: + - 0cb40eff-4fec-4eed-ba1d-89008fe8cf27|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineUIDropdown.__set_value__SystemInt32__SystemVoid + uid: b08cdad0-1225-4352-8325-233aa50a9277 + position: {x: 170, y: -170} + nodeUIDs: + - 0b9bea0b-2d9b-4fba-865b-ed04d9a426cd|0 + - fb818708-44c5-4a4c-9753-0de66a997425|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Event_Custom + uid: ea9a568e-a801-46a5-8b35-7bfc4bfb49da + position: {x: -280, y: -610} + nodeUIDs: + - + flowUIDs: + - a7777e46-e783-4a80-a9c8-f542206e0534 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged + - fullName: Variable_SystemObject + uid: cd9c3fce-43e2-4b4f-adc8-46e56163a3d2 + position: {x: -835, y: 90} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: ae888b9b-5f27-40f5-a1ea-1baa70f8b0fa + position: {x: 580, y: -560} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: a7df1c8a-d181-460c-92e4-f11284b2fc73 + position: {x: 240, y: -610} + nodeUIDs: + - 42b9c93b-521e-471a-aca0-5d608110c88f|0 + - + flowUIDs: + - 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 42b9c93b-521e-471a-aca0-5d608110c88f + position: {x: 80, y: -580} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Event_OnVariableChange + uid: fb818708-44c5-4a4c-9753-0de66a997425 + position: {x: -110, y: -220} + nodeUIDs: + - + flowUIDs: + - b08cdad0-1225-4352-8325-233aa50a9277 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 0b9bea0b-2d9b-4fba-865b-ed04d9a426cd + position: {x: -70, y: -80} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13 + - fullName: Branch + uid: a7777e46-e783-4a80-a9c8-f542206e0534 + position: {x: 60, y: -460} + nodeUIDs: + - 1862e8d9-c8f0-4ba0-b119-d83c74930193|0 + flowUIDs: + - a7df1c8a-d181-460c-92e4-f11284b2fc73 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemInt32.__op_Inequality__SystemInt32_SystemInt32__SystemBoolean + uid: 1862e8d9-c8f0-4ba0-b119-d83c74930193 + position: {x: -100, y: -440} + nodeUIDs: + - 2e9330b2-2126-4972-9455-b5e87ce4daef|0 + - ecd10661-99d1-4d05-bb43-299acf14383b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: ecd10661-99d1-4d05-bb43-299acf14383b + position: {x: -300, y: -400} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2 + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 5 + uid: 1cb035c5-d656-463e-be8b-ad06d34178d9 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":136.0,"width":224.0,"height":159.0}}' + - type: 4 + uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: 67ab29bd-9a7c-4ed7-b553-cde454bf847a + jsonData: '{"uid":"67ab29bd-9a7c-4ed7-b553-cde454bf847a","layout":{"serializedVersion":"2","x":-140.0,"y":-280.0,"width":513.0,"height":312.0},"containedElements":["fb818708-44c5-4a4c-9753-0de66a997425","0b9bea0b-2d9b-4fba-865b-ed04d9a426cd","b08cdad0-1225-4352-8325-233aa50a9277"],"title":"Update + Dropdown when Synced Var Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 5b2498dd-08e1-4c68-85a9-f6310aefc4dc + jsonData: '{"uid":"5b2498dd-08e1-4c68-85a9-f6310aefc4dc","layout":{"serializedVersion":"2","x":-500.0,"y":-680.0,"width":1293.0,"height":383.0},"containedElements":["0cb40eff-4fec-4eed-ba1d-89008fe8cf27","89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c","2e9330b2-2126-4972-9455-b5e87ce4daef","ea9a568e-a801-46a5-8b35-7bfc4bfb49da","ae888b9b-5f27-40f5-a1ea-1baa70f8b0fa","a7df1c8a-d181-460c-92e4-f11284b2fc73","42b9c93b-521e-471a-aca0-5d608110c88f","8be4bd79-e6a9-485c-8c18-f0ddd63d42dd","1862e8d9-c8f0-4ba0-b119-d83c74930193","ecd10661-99d1-4d05-bb43-299acf14383b","a7777e46-e783-4a80-a9c8-f542206e0534","31e277cd-2079-4567-925e-982b1f4c304f","4868c934-23de-4e61-947d-50b6c3aca0a3"],"title":"When + UI is changed, check that it''s different than the variable, then become owner + and update it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 904.4009, y: 1008.8304} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/DropdownSync.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/DropdownSync.asset.meta new file mode 100644 index 00000000..ff8bf2e7 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/DropdownSync.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4bfd9d9a0b7684c449d31b38065b43f4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Empty.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Empty.asset new file mode 100644 index 00000000..983e3493 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Empty.asset @@ -0,0 +1,40 @@ +%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: Empty + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 335e11fa35796cb45a2eec88f32c39e3, + type: 2} + udonAssembly: ".data_start\r\n\r\n \r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: [] + updateOrder: 0 + graphElementData: + - type: 3 + uid: b8f8c386-72f5-4386-81c5-715de6577c2c + jsonData: '{"uid":"b8f8c386-72f5-4386-81c5-715de6577c2c","layout":{"serializedVersion":"2","x":-162.86148071289063,"y":-59.89093780517578,"width":327.6364440917969,"height":131.41249084472657},"title":"This + space intentionally left blank. Use this graph if you just want to Synchronize + the Position of a GameObject.","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":false,"layout":{"serializedVersion":"2","x":13.0,"y":29.0,"width":214.0,"height":204.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: 550.61536, y: 464.55908} + scale: 2.0113573 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Empty.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Empty.asset.meta new file mode 100644 index 00000000..975b5143 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Empty.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dfcb9d6121fc4084e97b5303b0054618 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FireOnTrigger.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FireOnTrigger.asset new file mode 100644 index 00000000..45ef9155 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FireOnTrigger.asset @@ -0,0 +1,157 @@ +%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: FireOnTrigger + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: b42d2ab1773d32544949f0d96f04ebbe, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export eventName\r\n .export target\r\n + \r\n __instance_0: %VRCUdonUdonBehaviour, this\r\n __eventName_0: %SystemString, + null\r\n __message_0: %SystemObject, null\r\n __format_0: %SystemString, + null\r\n __arg0_0: %SystemObject, null\r\n __arg1_0: %SystemObject, null\r\n + eventName: %SystemString, null\r\n target: %VRCUdonUdonBehaviour, this\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, 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, eventName\r\n PUSH, __arg0_0\r\n COPY\r\n PUSH, target\r\n + PUSH, __arg1_0\r\n COPY\r\n PUSH, __format_0\r\n PUSH, __arg0_0\r\n + PUSH, __arg1_0\r\n PUSH, __message_0\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __message_0\r\n EXTERN, \"UnityEngineDebug.__Log__SystemObject__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_OnPlayerTriggerEnter + uid: 512ec905-8bd5-4efb-a1f1-07c5ed9f664f + position: {x: 210, y: 460} + nodeUIDs: [] + flowUIDs: + - 50e356b0-6ee6-4753-b219-bf4e925cae7d + nodeValues: [] + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 50e356b0-6ee6-4753-b219-bf4e925cae7d + position: {x: 490, y: 550} + nodeUIDs: + - 4d1b4c1e-2998-4efb-ac23-c78c0c848656|0 + - 26b7d2ff-478b-41ef-849d-ec4c3c66385b|0 + flowUIDs: + - 58da3e11-be23-403b-a0cc-78bd27aad502 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemString + uid: 06ee7d03-572e-4f36-b64e-cdd64118ba51 + 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|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: Variable_VRCUdonCommonInterfacesIUdonEventReceiver + uid: 108f5bb9-f392-44e9-abdf-7ca48e579b18 + 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: 4d1b4c1e-2998-4efb-ac23-c78c0c848656 + position: {x: 280, y: 570} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|108f5bb9-f392-44e9-abdf-7ca48e579b18 + - fullName: Get_Variable + uid: 26b7d2ff-478b-41ef-849d-ec4c3c66385b + position: {x: 300, y: 660} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|06ee7d03-572e-4f36-b64e-cdd64118ba51 + - fullName: UnityEngineDebug.__Log__SystemObject__SystemVoid + uid: 58da3e11-be23-403b-a0cc-78bd27aad502 + position: {x: 930, y: 560} + nodeUIDs: + - 27b1e733-ccbc-475b-bc4c-bfa0595e7bb3|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString + uid: 27b1e733-ccbc-475b-bc4c-bfa0595e7bb3 + position: {x: 710, y: 780} + nodeUIDs: + - + - 26b7d2ff-478b-41ef-849d-ec4c3c66385b|0 + - 4d1b4c1e-2998-4efb-ac23-c78c0c848656|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|sent + {0} to {1} + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 5 + uid: d0e23a1d-c279-4030-9fc1-914d63c63784 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 3e545cca-2e21-44de-b847-736eaca2c15d + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -277.39133, y: -168.48114} + scale: 1.15 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FireOnTrigger.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FireOnTrigger.asset.meta new file mode 100644 index 00000000..0bf1f494 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FireOnTrigger.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 98cd88d0adb2e994a9e93d2efefa9eb4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FollowPlayer.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FollowPlayer.asset new file mode 100644 index 00000000..749ea674 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FollowPlayer.asset @@ -0,0 +1,340 @@ +%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: FollowPlayer + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 451643f3f90ae50449d755206c3a97f2, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export smoothPosition\r\n .export target\r\n + \r\n __Boolean_0: %SystemBoolean, null\r\n __Object_0: %SystemObject, null\r\n + __Object_1: %SystemObject, null\r\n __var_0: %SystemObject, null\r\n __instance_0: + %UnityEngineTransform, this\r\n __value_0: %UnityEngineVector3, null\r\n + __a_0: %UnityEngineVector3, null\r\n __b_0: %UnityEngineVector3, null\r\n + __t_0: %SystemSingle, null\r\n __instance_1: %UnityEngineTransform, this\r\n + __Single_0: %SystemSingle, null\r\n __Single_1: %SystemSingle, null\r\n + __Single_2: %SystemSingle, null\r\n __Vector3_0: %UnityEngineVector3, null\r\n + __Vector3_1: %UnityEngineVector3, null\r\n __TrackingData_0: %VRCSDKBaseVRCPlayerApiTrackingData, + null\r\n __instance_2: %VRCSDKBaseVRCPlayerApi, null\r\n __tt_0: %VRCSDKBaseVRCPlayerApiTrackingDataType, + null\r\n __Single_3: %SystemSingle, null\r\n __Single_4: %SystemSingle, + null\r\n smoothPosition: %SystemSingle, null\r\n target: %UnityEngineTransform, + this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _lateUpdate\r\n + \r\n _lateUpdate:\r\n \r\n PUSH, __Object_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __var_0\r\n PUSH, __Object_1\r\n COPY\r\n PUSH, __Object_0\r\n + PUSH, __Object_1\r\n PUSH, __Boolean_0\r\n EXTERN, \"SystemObject.__op_Inequality__SystemObject_SystemObject__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000001D8\r\n PUSH, target\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, target\r\n PUSH, __instance_1\r\n + COPY\r\n PUSH, __instance_1\r\n PUSH, __a_0\r\n EXTERN, + \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n PUSH, + __Object_0\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, __Object_0\r\n + PUSH, __tt_0\r\n PUSH, __TrackingData_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__GetTrackingData__VRCSDKBaseVRCPlayerApiTrackingDataType__VRCSDKBaseVRCPlayerApiTrackingData\"\r\n + PUSH, __TrackingData_0\r\n PUSH, __Vector3_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApiTrackingData.__get_position__UnityEngineVector3\"\r\n + PUSH, __Vector3_0\r\n PUSH, __Single_0\r\n EXTERN, \"UnityEngineVector3.__get_x__SystemSingle\"\r\n + PUSH, __Object_0\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, + __Vector3_0\r\n PUSH, __Vector3_1\r\n COPY\r\n PUSH, __Vector3_0\r\n + PUSH, __Single_2\r\n EXTERN, \"UnityEngineVector3.__get_z__SystemSingle\"\r\n + PUSH, __Single_0\r\n PUSH, __Single_1\r\n PUSH, __Single_2\r\n + PUSH, __b_0\r\n EXTERN, \"UnityEngineVector3.__ctor__SystemSingle_SystemSingle_SystemSingle__UnityEngineVector3\"\r\n + PUSH, __Single_3\r\n EXTERN, \"UnityEngineTime.__get_deltaTime__SystemSingle\"\r\n + PUSH, __Single_3\r\n PUSH, smoothPosition\r\n PUSH, __t_0\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __a_0\r\n PUSH, __b_0\r\n PUSH, __t_0\r\n PUSH, __value_0\r\n + EXTERN, \"UnityEngineVector3.__Lerp__UnityEngineVector3_UnityEngineVector3_SystemSingle__UnityEngineVector3\"\r\n + PUSH, __instance_0\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineTransform.__set_position__UnityEngineVector3__SystemVoid\"\r\n + JUMP, 0x000001D8\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_LateUpdate + uid: ce8947e4-4a3d-44f4-a50c-b4043b8260fc + position: {x: -900, y: 30} + nodeUIDs: [] + flowUIDs: + - fa335911-0417-483f-a707-3823a7a195e0 + nodeValues: [] + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 7c5bd0a3-01ab-4f52-bc43-33361d894b27 + position: {x: -1180, y: -50} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemObject.__op_Inequality__SystemObject_SystemObject__SystemBoolean + uid: 145fe4a1-b5b4-4633-9f09-c07fd436914a + position: {x: -880, y: 120} + nodeUIDs: + - 7c5bd0a3-01ab-4f52-bc43-33361d894b27|0 + - 37a98a8e-4122-473a-b994-6c861779464f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Const_Null + uid: 37a98a8e-4122-473a-b994-6c861779464f + position: {x: -1020, y: 190} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: fa335911-0417-483f-a707-3823a7a195e0 + position: {x: -700, y: 130} + nodeUIDs: + - 145fe4a1-b5b4-4633-9f09-c07fd436914a|0 + flowUIDs: + - 1ab4f547-9bf1-40c8-a10b-cafbc614ff9a + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Variable_SystemSingle + uid: 263c594f-66d7-4fbb-8407-fbac59a4dbce + position: {x: -1302.5, y: -952.5} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.1 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smoothPosition + - 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: UnityEngineVector3.__Lerp__UnityEngineVector3_UnityEngineVector3_SystemSingle__UnityEngineVector3 + uid: 08556f6b-9e08-45d9-9329-96722eb44e5c + position: {x: 80, y: -100} + nodeUIDs: + - e23ebabf-6d6b-4762-91dd-0c63f449eb23|0 + - 947249ea-b4f1-4dc5-ad8b-80261b9fe7c9|0 + - b9c89210-a28a-4f50-8cc3-f694d111de2d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineTime.__get_deltaTime__SystemSingle + uid: 2b390756-9684-46cb-8933-2b0f686607db + position: {x: -440, y: 400} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: b9c89210-a28a-4f50-8cc3-f694d111de2d + position: {x: -160, y: 280} + nodeUIDs: + - 2b390756-9684-46cb-8933-2b0f686607db|0 + - 6c9a892c-becb-43b3-874a-4626c858a494|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 6c9a892c-becb-43b3-874a-4626c858a494 + position: {x: -400, y: 300} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|263c594f-66d7-4fbb-8407-fbac59a4dbce + - fullName: Variable_UnityEngineTransform + uid: 5fc85af4-9154-4f0d-819f-21e92fb74df8 + 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: 460a3829-2aed-4350-b8fd-78961c5e579f + position: {x: -380, y: -140} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5fc85af4-9154-4f0d-819f-21e92fb74df8 + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: e23ebabf-6d6b-4762-91dd-0c63f449eb23 + position: {x: -200, y: -160} + nodeUIDs: + - 460a3829-2aed-4350-b8fd-78961c5e579f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: cfebdc76-ec06-48f1-914f-51c49310d0a3 + position: {x: 340, y: 220} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5fc85af4-9154-4f0d-819f-21e92fb74df8 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: b1fe3d5e-ec08-42a8-813a-dd70a6f387eb + position: {x: -180, y: 440} + nodeUIDs: + - 2b390756-9684-46cb-8933-2b0f686607db|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCSDKBaseVRCPlayerApi.__GetPosition__UnityEngineVector3 + uid: 361eb282-915b-48e4-af45-3159c38751bd + position: {x: -360, y: -50} + nodeUIDs: + - 7c5bd0a3-01ab-4f52-bc43-33361d894b27|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTransform.__set_position__UnityEngineVector3__SystemVoid + uid: 1ab4f547-9bf1-40c8-a10b-cafbc614ff9a + position: {x: 540, y: 120} + nodeUIDs: + - cfebdc76-ec06-48f1-914f-51c49310d0a3|0 + - 08556f6b-9e08-45d9-9329-96722eb44e5c|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: VRCSDKBaseVRCPlayerApi.__GetTrackingData__VRCSDKBaseVRCPlayerApiTrackingDataType__VRCSDKBaseVRCPlayerApiTrackingData + uid: f2ddb5c4-1895-48a8-a490-8fe852a0785d + position: {x: -580, y: -440} + nodeUIDs: + - 7c5bd0a3-01ab-4f52-bc43-33361d894b27|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.SDKBase.VRCPlayerApi+TrackingDataType, VRCSDKBase, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|Head + - fullName: VRCSDKBaseVRCPlayerApiTrackingData.__get_position__UnityEngineVector3 + uid: 1c3bbd9d-ee95-45e7-a8ce-ed0f698bf426 + position: {x: -270, y: -440} + nodeUIDs: + - f2ddb5c4-1895-48a8-a490-8fe852a0785d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: VRC.SDKBase.VRCPlayerApi+TrackingData, VRCSDKBase, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"position":{"x":0.0,"y":0.0,"z":0.0},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":0.0}} + - fullName: UnityEngineVector3.__ctor__SystemSingle_SystemSingle_SystemSingle__UnityEngineVector3 + uid: 947249ea-b4f1-4dc5-ad8b-80261b9fe7c9 + position: {x: 230, y: -480} + nodeUIDs: + - 3961251c-54ad-46f3-8c14-1f5b4208edb5|0 + - + - 18eb9f92-0389-49e9-8606-d7e77e2cf0ad|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineVector3.__get_x__SystemSingle + uid: 3961251c-54ad-46f3-8c14-1f5b4208edb5 + position: {x: 20, y: -500} + nodeUIDs: + - 1c3bbd9d-ee95-45e7-a8ce-ed0f698bf426|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: UnityEngineVector3.__get_z__SystemSingle + uid: 18eb9f92-0389-49e9-8606-d7e77e2cf0ad + position: {x: 10, y: -390} + nodeUIDs: + - 1c3bbd9d-ee95-45e7-a8ce-ed0f698bf426|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + updateOrder: 0 + graphElementData: + - type: 2 + uid: 258f9463-a7c1-4189-a038-6976739bb6cb + jsonData: '{"uid":"258f9463-a7c1-4189-a038-6976739bb6cb","layout":{"serializedVersion":"2","x":-1200.0,"y":-115.0,"width":685.0,"height":398.0},"containedElements":["7c5bd0a3-01ab-4f52-bc43-33361d894b27","145fe4a1-b5b4-4633-9f09-c07fd436914a","37a98a8e-4122-473a-b994-6c861779464f","fa335911-0417-483f-a707-3823a7a195e0","ce8947e4-4a3d-44f4-a50c-b4043b8260fc"],"title":"Local + Player is Not Null","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 941ec2c2-fbe2-46b8-bb70-5c4b081d0eaf + jsonData: '{"uid":"941ec2c2-fbe2-46b8-bb70-5c4b081d0eaf","layout":{"serializedVersion":"2","x":-470.0,"y":215.0,"width":551.0,"height":357.0},"containedElements":["b9c89210-a28a-4f50-8cc3-f694d111de2d","6c9a892c-becb-43b3-874a-4626c858a494","e0db11f3-1955-407c-913e-193b7a5e1608","0fe57b18-ab9c-448a-8c7f-7ed54525167a","0c87a8a8-8339-4c6b-a8d5-fae774329004","2b390756-9684-46cb-8933-2b0f686607db","a51b52d9-ce81-4457-bd25-9b5939fd6ba6","b1fe3d5e-ec08-42a8-813a-dd70a6f387eb"],"title":"Combine + DeltaTime and Smoothing","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: c650920e-1e5a-4240-9e66-a36fc310ba3d + jsonData: '{"uid":"c650920e-1e5a-4240-9e66-a36fc310ba3d","layout":{"serializedVersion":"2","x":-410.0,"y":-230.0,"width":696.0,"height":281.0},"containedElements":["08556f6b-9e08-45d9-9329-96722eb44e5c","361eb282-915b-48e4-af45-3159c38751bd","e23ebabf-6d6b-4762-91dd-0c63f449eb23","460a3829-2aed-4350-b8fd-78961c5e579f"],"title":"Smoothly + Update the Position","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 89e6e213-1fc0-4af9-a3bf-93dae4e33a2b + jsonData: '{"uid":"89e6e213-1fc0-4af9-a3bf-93dae4e33a2b","layout":{"serializedVersion":"2","x":320.0,"y":55.0,"width":489.0,"height":263.0},"containedElements":["cfebdc76-ec06-48f1-914f-51c49310d0a3","1ab4f547-9bf1-40c8-a10b-cafbc614ff9a"],"title":"Update + the Target Transform","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: ab49c145-7313-4627-b929-07d6d45e116a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":85.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: dd099afa-04a3-413a-b572-f7670acebb86 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 1126.2573, y: 551.0502} + scale: 0.7561437 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FollowPlayer.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FollowPlayer.asset.meta new file mode 100644 index 00000000..ae8b3373 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/FollowPlayer.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aacda992b3a1dca4ea17ecbadc5cadf1 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/GetPlayersText.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/GetPlayersText.asset new file mode 100644 index 00000000..519d312e --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/GetPlayersText.asset @@ -0,0 +1,377 @@ +%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: GetPlayersText + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: c3348723dddcb584fabd76e42017137a, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export maxPlayers\r\n .export playerFields\r\n + \r\n __index_0: %SystemInt32, null\r\n __condition_0: %SystemBoolean, null\r\n + __object_0: %SystemObject, null\r\n __result_0: %SystemBoolean, null\r\n + __instance_1: %UnityEngineUIText, null\r\n __value_0: %SystemString, null\r\n + __instance_2: %UnityEngineUITextArray, null\r\n __Int32_1: %SystemInt32, null\r\n + __VRCPlayerApi_0: %VRCSDKBaseVRCPlayerApi, null\r\n __instance_0: %VRCSDKBaseVRCPlayerApiArray, + null\r\n __Int32_0: %SystemInt32, null\r\n __players_0: %VRCSDKBaseVRCPlayerApiArray, + null\r\n __instance_3: %UnityEngineUIText, null\r\n __value_1: %SystemString, + null\r\n __instance_4: %UnityEngineUITextArray, null\r\n __Int32_2: %SystemInt32, + null\r\n __format_0: %SystemString, null\r\n __arg0_0: %SystemObject, null\r\n + __start_0: %SystemInt32, null\r\n __end_0: %SystemInt32, null\r\n __step_0: + %SystemInt32, null\r\n __Int32_3: %SystemInt32, null\r\n players: %VRCSDKBaseVRCPlayerApiArray, + null\r\n maxPlayers: %SystemInt32, null\r\n playerFields: %UnityEngineUITextArray, + 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, __start_0\r\n PUSH, __index_0\r\n + COPY\r\n PUSH, __index_0\r\n PUSH, maxPlayers\r\n PUSH, + __condition_0\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __condition_0\r\n JUMP_IF_FALSE, 0x00000244\r\n PUSH, players\r\n + PUSH, __players_0\r\n COPY\r\n PUSH, __players_0\r\n PUSH, + __instance_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__GetPlayers__VRCSDKBaseVRCPlayerApiArray__VRCSDKBaseVRCPlayerApiArray\"\r\n + PUSH, __index_0\r\n PUSH, __Int32_0\r\n COPY\r\n PUSH, __instance_0\r\n + PUSH, __Int32_0\r\n PUSH, __object_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApiArray.__Get__SystemInt32__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __object_0\r\n PUSH, __result_0\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_0\r\n JUMP_IF_FALSE, 0x00000188\r\n PUSH, playerFields\r\n + PUSH, __instance_2\r\n COPY\r\n PUSH, __index_0\r\n PUSH, + __Int32_1\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, __Int32_1\r\n + PUSH, __instance_1\r\n EXTERN, \"UnityEngineUITextArray.__Get__SystemInt32__UnityEngineUIText\"\r\n + PUSH, players\r\n PUSH, __players_0\r\n COPY\r\n PUSH, __index_0\r\n + PUSH, __Int32_0\r\n COPY\r\n PUSH, __object_0\r\n PUSH, + __VRCPlayerApi_0\r\n COPY\r\n PUSH, __object_0\r\n PUSH, + __value_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString\"\r\n + PUSH, __instance_1\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + JUMP, 0x0000021C\r\n PUSH, playerFields\r\n PUSH, __instance_4\r\n + COPY\r\n PUSH, __index_0\r\n PUSH, __Int32_2\r\n COPY\r\n + PUSH, __instance_4\r\n PUSH, __Int32_2\r\n PUSH, __instance_3\r\n + EXTERN, \"UnityEngineUITextArray.__Get__SystemInt32__UnityEngineUIText\"\r\n + PUSH, __index_0\r\n PUSH, __arg0_0\r\n COPY\r\n PUSH, __format_0\r\n + PUSH, __arg0_0\r\n PUSH, __value_1\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __instance_3\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + PUSH, __index_0\r\n PUSH, __step_0\r\n PUSH, __index_0\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + JUMP, 0x00000014\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n + \r\n _start:\r\n \r\n PUSH, maxPlayers\r\n PUSH, players\r\n + EXTERN, \"VRCSDKBaseVRCPlayerApiArray.__ctor__SystemInt32__VRCSDKBaseVRCPlayerApiArray\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: For + uid: b92c18ac-e079-4002-b695-4d418352a93f + position: {x: 1300, y: 175} + nodeUIDs: + - + - 3b37ddba-4929-4f4e-b38d-7219d8ce70f5|0 + - + flowUIDs: + - 25bbf8df-465e-4ffe-b5a6-04a3aacb3171 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Event_Interact + uid: bd667235-1ad4-467f-9346-dbc7abb8104c + position: {x: 1165, y: 150} + nodeUIDs: [] + flowUIDs: + - b92c18ac-e079-4002-b695-4d418352a93f + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApi.__GetPlayers__VRCSDKBaseVRCPlayerApiArray__VRCSDKBaseVRCPlayerApiArray + uid: b89bc25a-354f-4c1c-ae6a-903ed88df56e + position: {x: 1220, y: -245} + nodeUIDs: + - 05be5ea6-4d6d-4978-86a7-9430a466eff0|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: VRC.SDKBase.VRCPlayerApi[], VRCSDKBase, Version=0.0.0.0, Culture=neutral, + PublicKeyToken=null|{} + - fullName: VRCSDKBaseVRCPlayerApiArray.__Get__SystemInt32__VRCSDKBaseVRCPlayerApi + uid: 2dc019ef-4a5e-4521-8189-7952e2cac155 + position: {x: 1550, y: -235} + nodeUIDs: + - b89bc25a-354f-4c1c-ae6a-903ed88df56e|0 + - b92c18ac-e079-4002-b695-4d418352a93f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 13c50d09-db06-465c-9af5-911ea9ca6175 + position: {x: 2485, y: -100} + nodeUIDs: + - 82c9d571-7584-4d6e-817d-50f3ac7463ac|0 + - 5193ce57-48d3-4ef4-8461-262eccffb255|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|Players:' + - fullName: Variable_VRCSDKBaseVRCPlayerApiArray + uid: 6cb5636c-3d41-4c90-ae8e-a29079067126 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: VRC.SDKBase.VRCPlayerApi[], VRCSDKBase, Version=0.0.0.0, Culture=neutral, + PublicKeyToken=null|{} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|players + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Get_Variable + uid: 05be5ea6-4d6d-4978-86a7-9430a466eff0 + position: {x: 1020, y: -245} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6cb5636c-3d41-4c90-ae8e-a29079067126 + - fullName: Set_Variable + uid: 4c670795-79f2-4447-ab93-80f7d3515907 + position: {x: 1320, y: -560} + nodeUIDs: + - + - 345d65e7-6553-4385-850e-de80f4ad5c90|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6cb5636c-3d41-4c90-ae8e-a29079067126 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6cb5636c-3d41-4c90-ae8e-a29079067126 + - fullName: Event_Start + uid: e9a17231-573a-4522-b1ad-00af4e592c3d + position: {x: 1165, y: -600} + nodeUIDs: [] + flowUIDs: + - 4c670795-79f2-4447-ab93-80f7d3515907 + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApiArray.__ctor__SystemInt32__VRCSDKBaseVRCPlayerApiArray + uid: 345d65e7-6553-4385-850e-de80f4ad5c90 + position: {x: 1095, y: -485} + nodeUIDs: + - 683dba4e-98d7-4b49-9423-7874bcfaa66a|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|16 + - fullName: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: 5193ce57-48d3-4ef4-8461-262eccffb255 + position: {x: 2290, y: -225} + nodeUIDs: + - 2dc019ef-4a5e-4521-8189-7952e2cac155|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 0bb400b5-0a3d-4b79-a8fd-9fc554f7dba3 + position: {x: 2160, y: 505} + nodeUIDs: + - + - b92c18ac-e079-4002-b695-4d418352a93f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Player + {0} + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemInt32 + uid: bf1c55a5-aff6-4acd-a29e-65c34c2c000f + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|8 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|maxPlayers + - 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_UnityEngineUITextArray + uid: 835b9520-c948-416f-bee9-abc8885fda32 + position: {x: -2070.8833, y: -100.43098} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|playerFields + - 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: 47df5c71-2c68-451a-bcc6-24af2e167fee + position: {x: 1980, y: 100} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|835b9520-c948-416f-bee9-abc8885fda32 + - fullName: Get_Variable + uid: 683dba4e-98d7-4b49-9423-7874bcfaa66a + position: {x: 945, y: -480} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|bf1c55a5-aff6-4acd-a29e-65c34c2c000f + - fullName: Get_Variable + uid: 3b37ddba-4929-4f4e-b38d-7219d8ce70f5 + position: {x: 1125, y: 285} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|bf1c55a5-aff6-4acd-a29e-65c34c2c000f + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 51113d42-f09c-4637-86f4-c825a4016827 + position: {x: 2490, y: 60} + nodeUIDs: + - cb08f389-ef32-4ede-bab8-8d33ff66372a|0 + - 0bb400b5-0a3d-4b79-a8fd-9fc554f7dba3|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|Players:' + - fullName: UnityEngineUITextArray.__Get__SystemInt32__UnityEngineUIText + uid: 82c9d571-7584-4d6e-817d-50f3ac7463ac + position: {x: 2160, y: 100} + nodeUIDs: + - 47df5c71-2c68-451a-bcc6-24af2e167fee|0 + - b92c18ac-e079-4002-b695-4d418352a93f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 0fd44b62-3eb4-4437-af5a-01c3e09360c9 + position: {x: 1980, y: 325} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|835b9520-c948-416f-bee9-abc8885fda32 + - fullName: UnityEngineUITextArray.__Get__SystemInt32__UnityEngineUIText + uid: cb08f389-ef32-4ede-bab8-8d33ff66372a + position: {x: 2155, y: 330} + nodeUIDs: + - 0fd44b62-3eb4-4437-af5a-01c3e09360c9 + - b92c18ac-e079-4002-b695-4d418352a93f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Is_Valid + uid: 25bbf8df-465e-4ffe-b5a6-04a3aacb3171 + position: {x: 1940, y: -125} + nodeUIDs: + - 2dc019ef-4a5e-4521-8189-7952e2cac155|0 + flowUIDs: + - 13c50d09-db06-465c-9af5-911ea9ca6175 + - 51113d42-f09c-4637-86f4-c825a4016827 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 2 + uid: cf55da08-388a-47e1-ade2-301b9b40322c + jsonData: '{"uid":"cf55da08-388a-47e1-ade2-301b9b40322c","layout":{"serializedVersion":"2","x":919.5869140625,"y":-667.0123291015625,"width":618.0,"height":291.0},"containedElements":["4c670795-79f2-4447-ab93-80f7d3515907","345d65e7-6553-4385-850e-de80f4ad5c90","683dba4e-98d7-4b49-9423-7874bcfaa66a","e9a17231-573a-4522-b1ad-00af4e592c3d"],"title":"Create + players array to reuse","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 9318c9f4-4b8c-40a8-af99-af4fb2117cf0 + jsonData: '{"uid":"9318c9f4-4b8c-40a8-af99-af4fb2117cf0","layout":{"serializedVersion":"2","x":1957.4429931640625,"y":32.82733154296875,"width":403.0,"height":201.0},"containedElements":["82c9d571-7584-4d6e-817d-50f3ac7463ac","47df5c71-2c68-451a-bcc6-24af2e167fee"],"title":"Get + corresponding Text field","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: f5280aa2-f367-4b70-ae71-a84527e30208 + jsonData: '{"uid":"f5280aa2-f367-4b70-ae71-a84527e30208","layout":{"serializedVersion":"2","x":997.3822631835938,"y":-310.587158203125,"width":518.0,"height":174.0},"containedElements":["05be5ea6-4d6d-4978-86a7-9430a466eff0","b89bc25a-354f-4c1c-ae6a-903ed88df56e"],"title":"fill + players with latest data from GetPlayers","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 10d7e67e-1618-47cf-82a3-aea6e5003ba7 + jsonData: '{"uid":"10d7e67e-1618-47cf-82a3-aea6e5003ba7","layout":{"serializedVersion":"2","x":1541.9337158203125,"y":-289.93994140625,"width":623.0,"height":316.0},"containedElements":["2dc019ef-4a5e-4521-8189-7952e2cac155","0434b283-dc85-49f5-ab7a-9180aead8e7f","25bbf8df-465e-4ffe-b5a6-04a3aacb3171"],"title":"Make + sure Player is Valid before getting DisplayName","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 285e69b0-878b-42bf-ae2f-668a4582a4b5 + jsonData: '{"uid":"285e69b0-878b-42bf-ae2f-668a4582a4b5","layout":{"serializedVersion":"2","x":1954.877685546875,"y":261.6498718261719,"width":400.0,"height":199.0},"containedElements":["cb08f389-ef32-4ede-bab8-8d33ff66372a","0fd44b62-3eb4-4437-af5a-01c3e09360c9"],"title":"Get + corresponding Text field","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 1e2791e6-04fd-4a87-9c8e-f92271f8f7ae + jsonData: '{"uid":"1e2791e6-04fd-4a87-9c8e-f92271f8f7ae","layout":{"serializedVersion":"2","x":1098.5762939453125,"y":84.49114990234375,"width":403.0,"height":310.0},"containedElements":["3b37ddba-4929-4f4e-b38d-7219d8ce70f5","b92c18ac-e079-4002-b695-4d418352a93f","bd667235-1ad4-467f-9346-dbc7abb8104c"],"title":"Loop + through players in Interact","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: 3f2ef480-4792-431a-bfcc-c571a619b422 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":34.0,"y":29.0,"width":179.0,"height":164.0}}' + - type: 4 + uid: 25c71a9f-5913-4001-a143-ae5ba6d24c38 + jsonData: '{"visible":false,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -442.38187, y: 563.498} + scale: 0.65751624 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/GetPlayersText.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/GetPlayersText.asset.meta new file mode 100644 index 00000000..e704b6fb --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/GetPlayersText.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8732b730b248f4344a2839981e1ff9f0 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/InputFieldSync.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/InputFieldSync.asset new file mode 100644 index 00000000..35b0eff5 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/InputFieldSync.asset @@ -0,0 +1,284 @@ +%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: InputFieldSync + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: bdab7a748078e8a47ab6e51d14565e01, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiInputField\r\n .sync fieldValue, + none\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n __String_0: %SystemString, + null\r\n __String_1: %SystemString, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi, + null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_1: %VRCUdonUdonBehaviour, + this\r\n __symbolName_0: %SystemString, null\r\n __value_0: %SystemObject, + null\r\n __instance_0: %UnityEngineUIInputField, null\r\n __instance_2: + %VRCUdonUdonBehaviour, this\r\n __instance_3: %UnityEngineUIInputField, null\r\n + __value_1: %SystemString, null\r\n __name_0: %SystemString, null\r\n uiInputField: + %UnityEngineUIInputField, null\r\n fieldValue: %SystemString, null\r\n + __returnValue: %SystemObject, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export OnEndEdit\r\n \r\n OnEndEdit:\r\n \r\n PUSH, uiInputField\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __String_0\r\n EXTERN, \"UnityEngineUIInputField.__get_text__SystemString\"\r\n + PUSH, fieldValue\r\n PUSH, __String_1\r\n COPY\r\n PUSH, + __String_0\r\n PUSH, __String_1\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemString.__op_Inequality__SystemString_SystemString__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000F8\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, uiInputField\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + __String_0\r\n PUSH, __value_0\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __symbolName_0\r\n PUSH, __String_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0x000000F8\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_fieldValue\r\n + \r\n _onVarChange_fieldValue:\r\n \r\n PUSH, uiInputField\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n PUSH, + fieldValue\r\n EXTERN, \"UnityEngineUIInputField.__set_text__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: 0cb40eff-4fec-4eed-ba1d-89008fe8cf27 + position: {x: -570, y: -110} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13 + - fullName: Set_Variable + uid: 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c + position: {x: 440, y: -160} + nodeUIDs: + - + - 390b2b52-bbe6-4144-87ba-12ce667722aa|0 + - + flowUIDs: + - 6eca1f22-6fd9-45fb-a91c-b22aa81c26b6 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Variable_UnityEngineUIInputField + uid: f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13 + position: {x: 142.4, y: -333.5499} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiInputField + - 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_SystemString + uid: ea620532-514e-483b-8dc0-9d9ae3a645d2 + position: {x: -444, y: -828} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fieldValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: UnityEngineUIInputField.__get_text__SystemString + uid: 390b2b52-bbe6-4144-87ba-12ce667722aa + position: {x: -360, y: -110} + nodeUIDs: + - 0cb40eff-4fec-4eed-ba1d-89008fe8cf27|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineUIInputField.__set_text__SystemString__SystemVoid + uid: 88ac05f5-5aca-4427-ab73-74a4440844a1 + position: {x: 10, y: 210} + nodeUIDs: + - 7e4128a3-2c0d-434f-b3e4-6c0706ed1753|0 + - 4c0a1c2e-83f3-4354-bd54-081107695a00|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Custom + uid: efc2f13a-6113-4e24-8698-020a22220c2f + position: {x: -410, y: -210} + nodeUIDs: + - + flowUIDs: + - 91fe498f-5d9f-499f-815e-a82cae144e73 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnEndEdit + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: 00f18aae-cc0b-46fd-809d-148756d7d410 + position: {x: 310, y: -210} + nodeUIDs: + - 4355f5f7-4caa-41af-8f9c-01658fdaa2ba|0 + - + flowUIDs: + - 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 4355f5f7-4caa-41af-8f9c-01658fdaa2ba + position: {x: 130, y: -150} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 6eca1f22-6fd9-45fb-a91c-b22aa81c26b6 + position: {x: 610, y: -160} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemObject + uid: b1ef14f7-09d4-4fdd-8dad-feb7e4484043 + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Get_Variable + uid: 7e4128a3-2c0d-434f-b3e4-6c0706ed1753 + position: {x: -240, y: 320} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13 + - fullName: Event_OnVariableChange + uid: 4c0a1c2e-83f3-4354-bd54-081107695a00 + position: {x: -240, y: 180} + nodeUIDs: + - + flowUIDs: + - 88ac05f5-5aca-4427-ab73-74a4440844a1 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__op_Inequality__SystemString_SystemString__SystemBoolean + uid: 4136c903-d3f9-45c4-ad90-2836483ee843 + position: {x: -190, y: -60} + nodeUIDs: + - 390b2b52-bbe6-4144-87ba-12ce667722aa|0 + - 61a3d97b-85c6-4931-b7eb-5af1cc57400d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 61a3d97b-85c6-4931-b7eb-5af1cc57400d + position: {x: -360, y: -40} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: 91fe498f-5d9f-499f-815e-a82cae144e73 + position: {x: -20, y: -210} + nodeUIDs: + - 4136c903-d3f9-45c4-ad90-2836483ee843|0 + flowUIDs: + - 00f18aae-cc0b-46fd-809d-148756d7d410 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + updateOrder: 0 + graphElementData: + - type: 2 + uid: + jsonData: '{"uid":"6cae173a-248b-4544-808f-bec85c802886","layout":{"serializedVersion":"2","x":550.0,"y":-705.0,"width":450.0,"height":308.0},"containedElements":["c5020263-8ec9-40ee-8935-86e91657ae20","5bc66cb4-befa-4100-a7a2-fd6498d7cd36","3e53df3f-8db9-465d-b828-687dc1ee22e0"],"title":"Approve + Ownership Transfers","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: e027c6ca-385b-4a09-b984-66d2f4f38c3e + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":26.0,"width":223.0,"height":194.0}}' + - type: 4 + uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: 12909805-74be-40ec-bd95-a47364f709fe + jsonData: '{"uid":"12909805-74be-40ec-bd95-a47364f709fe","layout":{"serializedVersion":"2","x":-270.0,"y":120.0,"width":451.0,"height":313.0},"containedElements":["88ac05f5-5aca-4427-ab73-74a4440844a1","7e4128a3-2c0d-434f-b3e4-6c0706ed1753","4c0a1c2e-83f3-4354-bd54-081107695a00"],"title":"Update + text when fieldValue Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 82acebd0-d18e-4def-b018-e5caed36a642 + jsonData: '{"uid":"82acebd0-d18e-4def-b018-e5caed36a642","layout":{"serializedVersion":"2","x":-600.0,"y":-280.0,"width":1412.0,"height":348.0},"containedElements":["0cb40eff-4fec-4eed-ba1d-89008fe8cf27","89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c","390b2b52-bbe6-4144-87ba-12ce667722aa","efc2f13a-6113-4e24-8698-020a22220c2f","00f18aae-cc0b-46fd-809d-148756d7d410","4355f5f7-4caa-41af-8f9c-01658fdaa2ba","6eca1f22-6fd9-45fb-a91c-b22aa81c26b6","7e6437ef-5bfe-4403-8e21-0b710054b6cd","35f5296f-3392-4320-b521-728e899423d1","4136c903-d3f9-45c4-ad90-2836483ee843","61a3d97b-85c6-4931-b7eb-5af1cc57400d","91fe498f-5d9f-499f-815e-a82cae144e73"],"title":"When + UI is changed, check that it''s different than the variable, then become owner + and update it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 672.1734, y: 432.6688} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/InputFieldSync.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/InputFieldSync.asset.meta new file mode 100644 index 00000000..9af08426 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/InputFieldSync.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0e78d0c5c758aaf4f9d0ace911a2c5d8 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/IsValid.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/IsValid.asset new file mode 100644 index 00000000..feee0355 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/IsValid.asset @@ -0,0 +1,125 @@ +%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: IsValid + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 2e88a101cff086944b0d112d6a27ca0c, + type: 2} + udonAssembly: ".data_start\r\n\r\n \r\n __object_0: %SystemObject, null\r\n + __result_0: %SystemBoolean, null\r\n __message_0: %SystemObject, null\r\n + __format_0: %SystemString, null\r\n __arg0_0: %SystemObject, null\r\n __VRCPlayerApi_0: + %VRCSDKBaseVRCPlayerApi, null\r\n __message_1: %SystemObject, null\r\n + __String_0: %SystemString, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export _start\r\n \r\n _start:\r\n \r\n PUSH, __object_0\r\n + EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __object_0\r\n PUSH, __result_0\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_0\r\n JUMP_IF_FALSE, 0x0000009C\r\n PUSH, __object_0\r\n + PUSH, __VRCPlayerApi_0\r\n COPY\r\n PUSH, __object_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, __message_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __message_0\r\n EXTERN, \"UnityEngineDebug.__Log__SystemObject__SystemVoid\"\r\n + JUMP, 0x000000C0\r\n PUSH, __String_0\r\n PUSH, __message_1\r\n + COPY\r\n PUSH, __message_1\r\n EXTERN, \"UnityEngineDebug.__Log__SystemObject__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Is_Valid + uid: 7ba7fd29-36da-471e-a5c9-000cd0519e3f + position: {x: 275, y: 450} + nodeUIDs: + - 0d2e8d0e-a992-493f-945a-e0077989d0a7|0 + flowUIDs: + - 27e4e266-2c14-4809-ab16-8672bb548667 + - c2ee3b3a-64a4-4d33-9419-2e711a787c9c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Start + uid: c4b4625f-0e91-4790-82ac-bf83bb0ed280 + position: {x: 140, y: 335} + nodeUIDs: [] + flowUIDs: + - 7ba7fd29-36da-471e-a5c9-000cd0519e3f + nodeValues: [] + - fullName: UnityEngineDebug.__Log__SystemObject__SystemVoid + uid: c2ee3b3a-64a4-4d33-9419-2e711a787c9c + position: {x: 810, y: 555} + nodeUIDs: + - 6d552320-c096-47a8-9dc7-27741e1d69a7|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineDebug.__Log__SystemObject__SystemVoid + uid: 27e4e266-2c14-4809-ab16-8672bb548667 + position: {x: 810, y: 425} + nodeUIDs: + - e6d6f1d7-5978-4658-917e-a39be6ce8a4f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Const_SystemString + uid: 6d552320-c096-47a8-9dc7-27741e1d69a7 + position: {x: 575, y: 660} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Player + is not Valid + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 0d2e8d0e-a992-493f-945a-e0077989d0a7 + position: {x: 75, y: 570} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: 6f319d88-f23b-4c57-a882-a3685d232c14 + position: {x: 275, y: 355} + nodeUIDs: + - 0d2e8d0e-a992-493f-945a-e0077989d0a7|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: e6d6f1d7-5978-4658-917e-a39be6ce8a4f + position: {x: 460, y: 340} + nodeUIDs: + - + - 6f319d88-f23b-4c57-a882-a3685d232c14|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Player + is {0} + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 5 + uid: 0c3973de-9ad5-489e-8fb4-796c176b2b47 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: d7f4e9cb-92e5-43cf-b4cd-1c319687e8f2 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -21.73816, y: -28.592041} + scale: 1.15 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/IsValid.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/IsValid.asset.meta new file mode 100644 index 00000000..4c49c150 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/IsValid.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3053cc98f03a13041a10e0650d9b6e24 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ObjectPool.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ObjectPool.asset new file mode 100644 index 00000000..3b7ddb39 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ObjectPool.asset @@ -0,0 +1,288 @@ +%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: ObjectPool + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 04e60c488c8422146b705c298d02baf4, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export pool\r\n .export spawnRate\r\n + \r\n __Boolean_0: %SystemBoolean, null\r\n __Boolean_1: %SystemBoolean, + null\r\n __Boolean_2: %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 __obj_0: %UnityEngineGameObject, + this\r\n __instance_0: %VRCSDK3ComponentsVRCObjectPool, null\r\n __GameObject_0: + %UnityEngineGameObject, this\r\n lastSpawnTime: %SystemSingle, null\r\n + pool: %VRCSDK3ComponentsVRCObjectPool, null\r\n spawnRate: %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_realtimeSinceStartup__SystemSingle\"\r\n + PUSH, __Single_2\r\n PUSH, lastSpawnTime\r\n PUSH, __Single_0\r\n + EXTERN, \"SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __Single_0\r\n PUSH, spawnRate\r\n PUSH, __Boolean_1\r\n + EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __obj_0\r\n PUSH, __Boolean_2\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n PUSH, __Boolean_2\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000F4\r\n PUSH, __Single_2\r\n + PUSH, lastSpawnTime\r\n COPY\r\n PUSH, __Single_2\r\n PUSH, + lastSpawnTime\r\n COPY\r\n PUSH, pool\r\n PUSH, __instance_0\r\n + COPY\r\n PUSH, __instance_0\r\n PUSH, __GameObject_0\r\n + EXTERN, \"VRCSDK3ComponentsVRCObjectPool.__TryToSpawn__UnityEngineGameObject\"\r\n + JUMP, 0x000000F4\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n + \r\n _start:\r\n \r\n PUSH, lastSpawnTime\r\n EXTERN, \"SystemSingle.__get_MinValue__SystemSingle\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_Update + uid: 24b817b6-8301-492f-9a48-4abd123aa915 + position: {x: 1480, y: 430} + nodeUIDs: [] + flowUIDs: + - 422a5fe1-6bac-4b3a-a394-b3c5ec51d2fe + nodeValues: [] + - fullName: Variable_SystemSingle + uid: 5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59 + 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|lastSpawnTime + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_Start + uid: b47abf82-7d5d-447b-abc5-7f1510fd7e1e + position: {x: 980, y: 150} + nodeUIDs: [] + flowUIDs: + - 9d30deab-bbe4-41f1-90fb-a383383a113d + nodeValues: [] + - fullName: Set_Variable + uid: 9d30deab-bbe4-41f1-90fb-a383383a113d + position: {x: 1120, y: 160} + nodeUIDs: + - + - 88fdf5d7-5fe9-445e-8955-31fd469f029d|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemSingle.__get_MinValue__SystemSingle + uid: 88fdf5d7-5fe9-445e-8955-31fd469f029d + position: {x: 930, y: 240} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Branch + uid: 422a5fe1-6bac-4b3a-a394-b3c5ec51d2fe + position: {x: 1730, y: 430} + nodeUIDs: + - 75d0a2e4-7387-45c3-a9fc-1680922d54ed|0 + flowUIDs: + - e789a3f2-0d84-44a4-8d15-a73850543686 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle + uid: 2ed71826-d54b-48cd-a70f-751a348afa8a + position: {x: 1180, y: 570} + nodeUIDs: + - 1aa4ffcc-26fe-44ac-b179-8b746a95e6e0|0 + - 9fc49f6f-47f1-4a65-aa24-0e10505e5407|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineTime.__get_realtimeSinceStartup__SystemSingle + uid: 1aa4ffcc-26fe-44ac-b179-8b746a95e6e0 + position: {x: 920, y: 480} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Get_Variable + uid: 9fc49f6f-47f1-4a65-aa24-0e10505e5407 + position: {x: 980, y: 660} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59 + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: c1d1d85c-57b8-4a59-8d53-1a277402f5dc + position: {x: 1360, y: 610} + nodeUIDs: + - 2ed71826-d54b-48cd-a70f-751a348afa8a|0 + - b87260d8-cc14-41bb-8e92-5d2e8683f905|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5 + - fullName: Set_Variable + uid: e789a3f2-0d84-44a4-8d15-a73850543686 + position: {x: 1920, y: 430} + nodeUIDs: + - + - 1aa4ffcc-26fe-44ac-b179-8b746a95e6e0|0 + - + flowUIDs: + - 22ca9a76-079d-4879-b4ac-18a7caf4d54a + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: VRCSDK3ComponentsVRCObjectPool.__TryToSpawn__UnityEngineGameObject + uid: 22ca9a76-079d-4879-b4ac-18a7caf4d54a + position: {x: 2100, y: 480} + nodeUIDs: + - 4576ed72-075c-4491-bf23-a2c133902f6e|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_VRCSDK3ComponentsVRCObjectPool + uid: 81a98a1c-bf8d-4de8-b874-8c701e517574 + 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|pool + - 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: 4576ed72-075c-4491-bf23-a2c133902f6e + position: {x: 1900, y: 580} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|81a98a1c-bf8d-4de8-b874-8c701e517574 + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: 4f80683d-5a62-4b57-a9f9-93e4636ea7db + position: {x: 1340, y: 780} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean + uid: 75d0a2e4-7387-45c3-a9fc-1680922d54ed + position: {x: 1530, y: 660} + nodeUIDs: + - c1d1d85c-57b8-4a59-8d53-1a277402f5dc|0 + - 4f80683d-5a62-4b57-a9f9-93e4636ea7db|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: Variable_SystemSingle + uid: c9b2d9ba-e706-42ea-842b-12bbd5e03a7b + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|spawnRate + - 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: b87260d8-cc14-41bb-8e92-5d2e8683f905 + position: {x: 1180, y: 680} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|c9b2d9ba-e706-42ea-842b-12bbd5e03a7b + updateOrder: 0 + graphElementData: + - type: 2 + uid: 9b49bb5a-ce15-42fe-8dc5-f69ab666675c + jsonData: '{"uid":"9b49bb5a-ce15-42fe-8dc5-f69ab666675c","layout":{"serializedVersion":"2","x":905.0,"y":85.0,"width":408.0,"height":262.0},"containedElements":["9d30deab-bbe4-41f1-90fb-a383383a113d","88fdf5d7-5fe9-445e-8955-31fd469f029d","b47abf82-7d5d-447b-abc5-7f1510fd7e1e"],"title":"OnStart","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 71aa4af0-fd70-4157-aa61-bf07111cf498 + jsonData: '{"uid":"71aa4af0-fd70-4157-aa61-bf07111cf498","layout":{"serializedVersion":"2","x":895.0,"y":365.0,"width":1022.0,"height":576.0},"containedElements":["22ca9a76-079d-4879-b4ac-18a7caf4d54a","e789a3f2-0d84-44a4-8d15-a73850543686","c1d1d85c-57b8-4a59-8d53-1a277402f5dc","9fc49f6f-47f1-4a65-aa24-0e10505e5407","1aa4ffcc-26fe-44ac-b179-8b746a95e6e0","2ed71826-d54b-48cd-a70f-751a348afa8a","422a5fe1-6bac-4b3a-a394-b3c5ec51d2fe","24b817b6-8301-492f-9a48-4abd123aa915","4576ed72-075c-4491-bf23-a2c133902f6e","75d0a2e4-7387-45c3-a9fc-1680922d54ed","4f80683d-5a62-4b57-a9f9-93e4636ea7db","1669540b-a8a1-4611-98be-762e46a42177","0c9c36a3-bb09-47ba-a6de-92a5e96e3ffc","b4993449-a5af-441c-bad6-cab336cede72","641c6bcb-7b7a-4903-87db-11addc77c958","7d55d95e-5836-4c7b-b8e3-9020dcbafa28","d01fc747-5c75-4271-a0da-197b946d584b","b22cc5c0-1270-4f12-8505-6ef0dc2ca1d1","f876e28a-f12d-4c2d-9832-d708a9853cbf","b27c588b-6b7b-45f7-a8c3-76ad5dab6e27","ce301c88-48e8-450a-b39c-918ba62560ef","7f7c3b66-25a7-4e32-913a-0365a5631e13","bacd2e0c-7e48-4466-b261-c0300303ed9d","b87260d8-cc14-41bb-8e92-5d2e8683f905"],"title":"Spawn + Object","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: f100d3c6-b06b-49d6-aa0f-37526d0ac82e + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":211.0,"height":262.0}}' + - type: 4 + uid: ace03e48-71a1-473b-a1e7-33821ff7642c + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -470.8941, y: 85.42198} + scale: 0.7561437 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ObjectPool.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ObjectPool.asset.meta new file mode 100644 index 00000000..cd636afe --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ObjectPool.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1099cbb6e22bfe74a93b71dfe7c428aa +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PenLine.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PenLine.asset new file mode 100644 index 00000000..adc41b2f --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PenLine.asset @@ -0,0 +1,399 @@ +%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: PenLine + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 1f483e85fa59b754da73bafda7a54ce3, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export lineRenderer\r\n .sync points, + none\r\n \r\n __instance_0: %UnityEngineLineRenderer, null\r\n __tolerance_0: + %SystemSingle, null\r\n __instance_1: %VRCUdonUdonBehaviour, this\r\n __eventName_0: + %SystemString, null\r\n __instance_2: %UnityEngineLineRenderer, null\r\n + __value_0: %SystemInt32, null\r\n __instance_3: %UnityEngineVector3Array, + null\r\n __instance_4: %UnityEngineLineRenderer, null\r\n __positions_0: + %UnityEngineVector3Array, null\r\n __Boolean_0: %SystemBoolean, null\r\n + __Int32_3: %SystemInt32, null\r\n __instance_5: %UnityEngineLineRenderer, + null\r\n __positions_1: %UnityEngineVector3Array, null\r\n __Int32_0: %SystemInt32, + null\r\n __Int32_1: %SystemInt32, null\r\n __Int32_2: %SystemInt32, null\r\n + __instance_6: %UnityEngineLineRenderer, null\r\n __instance_7: %VRCUdonUdonBehaviour, + this\r\n isDown: %SystemBoolean, null\r\n points: %UnityEngineVector3Array, + null\r\n lineRenderer: %UnityEngineLineRenderer, null\r\n __returnValue: + %SystemObject, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export OnFinish\r\n + \r\n OnFinish:\r\n \r\n PUSH, lineRenderer\r\n PUSH, __instance_0\r\n + COPY\r\n PUSH, __instance_0\r\n PUSH, __tolerance_0\r\n + EXTERN, \"UnityEngineLineRenderer.__Simplify__SystemSingle__SystemVoid\"\r\n + PUSH, __instance_1\r\n PUSH, __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onDeserialization\r\n \r\n _onDeserialization:\r\n + \r\n PUSH, lineRenderer\r\n PUSH, __instance_2\r\n COPY\r\n + PUSH, points\r\n PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n + PUSH, __value_0\r\n EXTERN, \"UnityEngineVector3Array.__get_Length__SystemInt32\"\r\n + PUSH, __instance_2\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineLineRenderer.__set_positionCount__SystemInt32__SystemVoid\"\r\n + PUSH, lineRenderer\r\n PUSH, __instance_4\r\n COPY\r\n PUSH, + points\r\n PUSH, __positions_0\r\n COPY\r\n PUSH, __instance_4\r\n + PUSH, __positions_0\r\n EXTERN, \"UnityEngineLineRenderer.__SetPositions__UnityEngineVector3Array__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onOwnershipRequest\r\n \r\n _onOwnershipRequest:\r\n + \r\n PUSH, __Boolean_0\r\n PUSH, __returnValue\r\n COPY\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export OnUpdate\r\n \r\n OnUpdate:\r\n + \r\n PUSH, lineRenderer\r\n PUSH, __instance_5\r\n COPY\r\n + PUSH, lineRenderer\r\n PUSH, __instance_6\r\n COPY\r\n PUSH, + __instance_6\r\n PUSH, __Int32_1\r\n EXTERN, \"UnityEngineLineRenderer.__get_positionCount__SystemInt32\"\r\n + PUSH, __Int32_1\r\n PUSH, __Int32_2\r\n PUSH, __Int32_0\r\n + EXTERN, \"SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __Int32_0\r\n PUSH, __positions_1\r\n EXTERN, \"UnityEngineVector3Array.__ctor__SystemInt32__UnityEngineVector3Array\"\r\n + PUSH, __instance_5\r\n PUSH, __positions_1\r\n PUSH, __Int32_3\r\n + EXTERN, \"UnityEngineLineRenderer.__GetPositions__UnityEngineVector3Array__SystemInt32\"\r\n + PUSH, lineRenderer\r\n PUSH, __instance_5\r\n COPY\r\n PUSH, + lineRenderer\r\n PUSH, __instance_6\r\n COPY\r\n PUSH, __positions_1\r\n + PUSH, points\r\n COPY\r\n PUSH, __positions_1\r\n PUSH, + points\r\n COPY\r\n PUSH, __instance_7\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_SystemBoolean + uid: 6e9852e8-4f32-4aae-b5d7-3c56b4e80462 + 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|isDown + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_Custom + uid: dde4f88a-7917-4bae-b604-e70188cb63da + position: {x: -290, y: 15} + nodeUIDs: + - + flowUIDs: + - ace8d884-b5dd-4815-bea8-bbb9f9b90adc + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnFinish + - fullName: Variable_UnityEngineVector3Array + uid: 4aaf2a0a-6354-4bce-b842-c305193d30b2 + position: {x: -15, y: -1385} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3[], UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"value":[{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0},{"x":0.0,"y":0.0,"z":0.0}]} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|points + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Variable_UnityEngineLineRenderer + uid: d4139c3b-f0b7-4103-b844-bc897daa6ec5 + 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|lineRenderer + - 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: aaf3e75f-5574-4790-8b3b-272131e9336e + position: {x: -640, y: 215} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d4139c3b-f0b7-4103-b844-bc897daa6ec5 + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: c6cd907a-9fa4-483b-8d26-a12cc00369d1 + position: {x: 595, y: 195} + nodeUIDs: + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnDeserialization + uid: 927d1cb8-d331-49d9-9531-c7bfe4b9c796 + position: {x: -505, y: 665} + nodeUIDs: [] + flowUIDs: + - cd88b179-20e7-4d23-842d-76f09578142d + nodeValues: [] + - fullName: Get_Variable + uid: e11f63e2-0222-48dc-b22c-d1b58d2ddba0 + position: {x: -280, y: 795} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|4aaf2a0a-6354-4bce-b842-c305193d30b2 + - fullName: Get_Variable + uid: 26b001e6-406f-4d3e-bd2c-0a5bb2e511d6 + position: {x: -80, y: 785} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d4139c3b-f0b7-4103-b844-bc897daa6ec5 + - fullName: UnityEngineLineRenderer.__SetPositions__UnityEngineVector3Array__SystemVoid + uid: f61dd935-f54c-41bf-b4c1-7f819e8ede51 + position: {x: 360, y: 720} + nodeUIDs: + - 26b001e6-406f-4d3e-bd2c-0a5bb2e511d6|0 + - e11f63e2-0222-48dc-b22c-d1b58d2ddba0|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineLineRenderer.__set_positionCount__SystemInt32__SystemVoid + uid: cd88b179-20e7-4d23-842d-76f09578142d + position: {x: 150, y: 675} + nodeUIDs: + - 26b001e6-406f-4d3e-bd2c-0a5bb2e511d6|0 + - b08ad0aa-7980-402b-b9c3-9b9ab385febc|0 + flowUIDs: + - f61dd935-f54c-41bf-b4c1-7f819e8ede51 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineVector3Array.__get_Length__SystemInt32 + uid: b08ad0aa-7980-402b-b9c3-9b9ab385febc + position: {x: -75, y: 640} + nodeUIDs: + - e11f63e2-0222-48dc-b22c-d1b58d2ddba0|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 20e09264-191b-4018-b392-04b751a99277 + position: {x: 405, y: 195} + nodeUIDs: + - + - 09dfef14-acd5-4a05-b59a-4f91484baa8c|0 + flowUIDs: + - c6cd907a-9fa4-483b-8d26-a12cc00369d1 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|4aaf2a0a-6354-4bce-b842-c305193d30b2 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|4aaf2a0a-6354-4bce-b842-c305193d30b2 + - fullName: UnityEngineVector3Array.__ctor__SystemInt32__UnityEngineVector3Array + uid: 9dce16c7-8cb9-4b8a-b96a-39b7dd9b3f0b + position: {x: -65, y: 290} + nodeUIDs: + - 17221806-01ea-49ac-abf8-f67f9e58aaf6|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|10 + - fullName: UnityEngineLineRenderer.__get_positionCount__SystemInt32 + uid: d4a0f09a-9dc3-4a4e-8b9d-0bc5a049c4d7 + position: {x: -410, y: 295} + nodeUIDs: + - aaf3e75f-5574-4790-8b3b-272131e9336e|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemObject + uid: 158ef9f2-20cb-44fe-b75d-49543180c9d2 + position: {x: -975, y: -2615} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Const_SystemBoolean + uid: 282e165c-f7e1-4f48-ac66-0caf0eb2ae0a + position: {x: -50, y: 1100} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Set_ReturnValue + uid: 3973ee95-2edf-462a-bf82-13d1ae9ddb06 + position: {x: 80, y: 1010} + nodeUIDs: + - + - 282e165c-f7e1-4f48-ac66-0caf0eb2ae0a + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|158ef9f2-20cb-44fe-b75d-49543180c9d2 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnOwnershipRequest + uid: 3cd76e77-e278-4901-82f1-7e5471ca4020 + position: {x: -320, y: 1010} + nodeUIDs: [] + flowUIDs: + - 3973ee95-2edf-462a-bf82-13d1ae9ddb06 + nodeValues: [] + - fullName: Get_Variable + uid: 07d9b24c-fc78-4d3e-b9b2-7d056a3e5ed7 + position: {x: 20, y: 105} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d4139c3b-f0b7-4103-b844-bc897daa6ec5 + - fullName: UnityEngineLineRenderer.__Simplify__SystemSingle__SystemVoid + uid: ace8d884-b5dd-4815-bea8-bbb9f9b90adc + position: {x: 255, y: 20} + nodeUIDs: + - 07d9b24c-fc78-4d3e-b9b2-7d056a3e5ed7|0 + - + flowUIDs: + - 8168d9fe-76bd-4b91-8c4c-7cee84237be4 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.005 + - fullName: SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32 + uid: 17221806-01ea-49ac-abf8-f67f9e58aaf6 + position: {x: -210, y: 295} + nodeUIDs: + - d4a0f09a-9dc3-4a4e-8b9d-0bc5a049c4d7|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Event_Custom + uid: 88e1f699-c450-46b2-85fd-20b65399ad98 + position: {x: -300, y: 160} + nodeUIDs: + - + flowUIDs: + - 09dfef14-acd5-4a05-b59a-4f91484baa8c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnUpdate + - fullName: UnityEngineLineRenderer.__GetPositions__UnityEngineVector3Array__SystemInt32 + uid: 09dfef14-acd5-4a05-b59a-4f91484baa8c + position: {x: 95, y: 215} + nodeUIDs: + - aaf3e75f-5574-4790-8b3b-272131e9336e|0 + - 9dce16c7-8cb9-4b8a-b96a-39b7dd9b3f0b|0 + flowUIDs: + - 20e09264-191b-4018-b392-04b751a99277 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 8168d9fe-76bd-4b91-8c4c-7cee84237be4 + position: {x: 485, y: 5} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnUpdate + updateOrder: 0 + graphElementData: + - type: 2 + uid: 582b9bc5-eaab-4254-9672-6dd07de9ef1c + jsonData: '{"uid":"582b9bc5-eaab-4254-9672-6dd07de9ef1c","layout":{"serializedVersion":"2","x":-530.0,"y":575.0,"width":1102.0,"height":327.0},"containedElements":["b08ad0aa-7980-402b-b9c3-9b9ab385febc","cd88b179-20e7-4d23-842d-76f09578142d","26b001e6-406f-4d3e-bd2c-0a5bb2e511d6","927d1cb8-d331-49d9-9531-c7bfe4b9c796","e11f63e2-0222-48dc-b22c-d1b58d2ddba0","f61dd935-f54c-41bf-b4c1-7f819e8ede51"],"title":"Set + LinePositions from Synced Data","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: ee8529df-6d2b-47b0-aaeb-a2c9f73e2895 + jsonData: '{"uid":"ee8529df-6d2b-47b0-aaeb-a2c9f73e2895","layout":{"serializedVersion":"2","x":-665.0,"y":-60.0,"width":1467.0,"height":486.0},"containedElements":["d4a0f09a-9dc3-4a4e-8b9d-0bc5a049c4d7","9dce16c7-8cb9-4b8a-b96a-39b7dd9b3f0b","dde4f88a-7917-4bae-b604-e70188cb63da","aaf3e75f-5574-4790-8b3b-272131e9336e","c6cd907a-9fa4-483b-8d26-a12cc00369d1","20e09264-191b-4018-b392-04b751a99277","16950bbc-fa48-49fc-a589-18455cc6415b","d29a95a0-b0d7-4ff9-a57d-c754f9c3fd11","ace8d884-b5dd-4815-bea8-bbb9f9b90adc","07d9b24c-fc78-4d3e-b9b2-7d056a3e5ed7","17221806-01ea-49ac-abf8-f67f9e58aaf6","88e1f699-c450-46b2-85fd-20b65399ad98","e4048a17-3f51-449f-bd4f-17c7b48b38f8","764fe239-a84f-44c1-b828-34d20ccdd3bb","1db1471e-6dd5-4336-a184-a4cf697c60b5","09dfef14-acd5-4a05-b59a-4f91484baa8c","8168d9fe-76bd-4b91-8c4c-7cee84237be4"],"title":"Update + Points Array from LineRenderer and Send","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: cd33cf70-0bc3-43db-ac00-0b5eaea3e7c1 + jsonData: '{"uid":"cd33cf70-0bc3-43db-ac00-0b5eaea3e7c1","layout":{"serializedVersion":"2","x":-345.0,"y":945.0,"width":609.0,"height":262.0},"containedElements":["3cd76e77-e278-4901-82f1-7e5471ca4020","3973ee95-2edf-462a-bf82-13d1ae9ddb06","282e165c-f7e1-4f48-ac66-0caf0eb2ae0a"],"title":"Allow + Ownership Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: c5fbc6f1-b777-40b4-acf4-f0fb74ca4f14 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":199.0,"height":221.0}}' + - type: 4 + uid: 2c6f8b54-7ea8-492c-abb7-97607b64793d + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 531.2507, y: 183.06543} + scale: 0.43232757 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PenLine.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PenLine.asset.meta new file mode 100644 index 00000000..f17e7c4b --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PenLine.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 46df060d25eb3bc42be5fcfae616147c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PickupAndUse.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PickupAndUse.asset new file mode 100644 index 00000000..9cce98c9 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PickupAndUse.asset @@ -0,0 +1,184 @@ +%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: PickupAndUse + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: cad00fa125cd1244d85175bd51c21b14, + type: 2} + udonAssembly: ".data_start\r\n\r\n \r\n __instance_0: %UnityEngineMaterial, + null\r\n __value_0: %UnityEngineColor, null\r\n __instance_1: %UnityEngineMaterial, + null\r\n __value_1: %UnityEngineColor, null\r\n __instance_2: %UnityEngineMeshRenderer, + null\r\n __instance_3: %UnityEngineGameObject, this\r\n __type_0: %SystemType, + null\r\n __Type_0: %SystemType, null\r\n targetMaterial: %UnityEngineMaterial, + null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _onPickupUseDown\r\n + \r\n _onPickupUseDown:\r\n \r\n PUSH, targetMaterial\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __value_0\r\n EXTERN, \"UnityEngineMaterial.__set_color__UnityEngineColor__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onPickupUseUp\r\n \r\n _onPickupUseUp:\r\n + \r\n PUSH, targetMaterial\r\n PUSH, __instance_1\r\n COPY\r\n + PUSH, __instance_1\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineMaterial.__set_color__UnityEngineColor__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n \r\n _start:\r\n + \r\n PUSH, __Type_0\r\n PUSH, __type_0\r\n COPY\r\n + PUSH, __instance_3\r\n PUSH, __type_0\r\n PUSH, __instance_2\r\n + EXTERN, \"UnityEngineGameObject.__GetComponent__SystemType__UnityEngineComponent\"\r\n + PUSH, __instance_2\r\n PUSH, targetMaterial\r\n EXTERN, \"UnityEngineMeshRenderer.__get_material__UnityEngineMaterial\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_OnPickupUseDown + uid: e62030ae-1e98-421a-8d15-4ab14134fe22 + position: {x: -280, y: -30} + nodeUIDs: [] + flowUIDs: + - 7b540459-4ba4-43b6-8b40-19820f012c57 + nodeValues: [] + - fullName: Event_OnPickupUseUp + uid: 340494dc-14f7-43e5-95f7-56dadfb4c1d4 + position: {x: -280, y: 190} + nodeUIDs: [] + flowUIDs: + - 00c99866-4e32-4730-b6c2-158bbb8700ff + nodeValues: [] + - fullName: UnityEngineGameObject.__GetComponent__SystemType__UnityEngineComponent + uid: ca0aaf1d-7bbf-4642-b9e7-6263a5b1a4f5 + position: {x: -310, y: -270} + nodeUIDs: + - + - f41b88f5-90a8-4267-bea1-e70003a206a5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Type_UnityEngineMeshRenderer + uid: f41b88f5-90a8-4267-bea1-e70003a206a5 + position: {x: -560, y: -270} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: UnityEngineMeshRenderer.__get_material__UnityEngineMaterial + uid: 22a5bc58-c202-4b10-a0b7-f0eb94b2df4e + position: {x: 10, y: -310} + nodeUIDs: + - ca0aaf1d-7bbf-4642-b9e7-6263a5b1a4f5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMaterial.__set_color__UnityEngineColor__SystemVoid + uid: 7b540459-4ba4-43b6-8b40-19820f012c57 + position: {x: -20, y: 0} + nodeUIDs: + - 72c8f3b2-4db4-4a55-a441-59032ce12f35|0 + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Color, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"r":0.31633853912353518,"g":1.0,"b":0.0,"a":1.0} + - fullName: UnityEngineMaterial.__set_color__UnityEngineColor__SystemVoid + uid: 00c99866-4e32-4730-b6c2-158bbb8700ff + position: {x: -20, y: 150} + nodeUIDs: + - 72c8f3b2-4db4-4a55-a441-59032ce12f35|0 + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Color, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"r":0.6698113083839417,"g":0.6698113083839417,"b":0.6698113083839417,"a":1.0} + - fullName: Event_Start + uid: 9a743b31-5819-463b-a89a-a431146a3da0 + position: {x: 180, y: -420} + nodeUIDs: [] + flowUIDs: + - 668bf596-ab4d-4802-9dfa-8499474a6d16 + nodeValues: [] + - fullName: Set_Variable + uid: 668bf596-ab4d-4802-9dfa-8499474a6d16 + position: {x: 330, y: -380} + nodeUIDs: + - + - 22a5bc58-c202-4b10-a0b7-f0eb94b2df4e|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f75153ec-462f-41df-835e-046a120001cf + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineMaterial + uid: f75153ec-462f-41df-835e-046a120001cf + position: {x: -696, y: -552} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|targetMaterial + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Get_Variable + uid: 72c8f3b2-4db4-4a55-a441-59032ce12f35 + position: {x: -280, y: 80} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f75153ec-462f-41df-835e-046a120001cf + updateOrder: 0 + graphElementData: + - type: 2 + uid: bde18abd-8bb5-4c57-9434-cd97abb451b9 + jsonData: '{"uid":"bde18abd-8bb5-4c57-9434-cd97abb451b9","layout":{"serializedVersion":"2","x":-584.67919921875,"y":-488.7227783203125,"width":1134.0,"height":366.0},"containedElements":["668bf596-ab4d-4802-9dfa-8499474a6d16","f41b88f5-90a8-4267-bea1-e70003a206a5","ca0aaf1d-7bbf-4642-b9e7-6263a5b1a4f5","9a743b31-5819-463b-a89a-a431146a3da0","22a5bc58-c202-4b10-a0b7-f0eb94b2df4e"],"title":"Get + the material just once for better performance","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: e48bfbbe-9c6a-4146-ba89-5dcb675de8ed + jsonData: '{"uid":"e48bfbbe-9c6a-4146-ba89-5dcb675de8ed","layout":{"serializedVersion":"2","x":-309.2767639160156,"y":-90.8224868774414,"width":560.0,"height":392.0},"containedElements":["340494dc-14f7-43e5-95f7-56dadfb4c1d4","e62030ae-1e98-421a-8d15-4ab14134fe22","00c99866-4e32-4730-b6c2-158bbb8700ff","7b540459-4ba4-43b6-8b40-19820f012c57","72c8f3b2-4db4-4a55-a441-59032ce12f35"],"title":"Change + color when ''Use'' is pressed and released","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 00c6e26b-a0a5-42b1-895a-56ab720eefab + jsonData: '{"uid":"00c6e26b-a0a5-42b1-895a-56ab720eefab","layout":{"serializedVersion":"2","x":-666.9842529296875,"y":86.7950210571289,"width":339.6000671386719,"height":71.739990234375},"title":"targetMaterial + is a public variable so you can change it in the Inspector","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":244.0,"height":100.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: 584.8831, y: 571.29224} + scale: 0.83116883 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PickupAndUse.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PickupAndUse.asset.meta new file mode 100644 index 00000000..f65309e8 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PickupAndUse.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d5d0346a3148a584da4572e44316e658 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerCollisionParticles.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerCollisionParticles.asset new file mode 100644 index 00000000..8abbfc08 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerCollisionParticles.asset @@ -0,0 +1,131 @@ +%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: PlayerCollisionParticles + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 2120e8986c28a7840aa5b737edcb154b, + 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 __arg1_0: %SystemObject, + null\r\n __VRCPlayerApi_0: %VRCSDKBaseVRCPlayerApi, null\r\n onPlayerParticleCollisionPlayer: + %VRCSDKBaseVRCPlayerApi, null\r\n textField: %UnityEngineUIText, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export _onPlayerParticleCollision\r\n \r\n _onPlayerParticleCollision:\r\n + \r\n PUSH, textField\r\n PUSH, __instance_0\r\n COPY\r\n + PUSH, onPlayerParticleCollisionPlayer\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, __arg1_0\r\n + EXTERN, \"UnityEngineTime.__get_time__SystemSingle\"\r\n PUSH, __format_0\r\n + PUSH, __arg0_0\r\n PUSH, __arg1_0\r\n PUSH, __value_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject_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\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_OnPlayerParticleCollision + uid: bc22b6bf-ea2f-4c35-9d02-a2f58da265a3 + position: {x: 260, y: 330} + nodeUIDs: [] + flowUIDs: + - 2968b5b2-5499-4298-85b2-bc288907d413 + nodeValues: [] + - fullName: Variable_UnityEngineUIText + uid: dad3927e-7b0b-427f-a110-75ed413f7571 + 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|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: 4441926d-ee31-48ea-9369-4ad84c4e4e8d + position: {x: 1010, y: 290} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|dad3927e-7b0b-427f-a110-75ed413f7571 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 2968b5b2-5499-4298-85b2-bc288907d413 + position: {x: 1180, y: 330} + nodeUIDs: + - 4441926d-ee31-48ea-9369-4ad84c4e4e8d|0 + - 34f661de-4d22-4ec0-8e7a-e5e5cec95415|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString + uid: 34f661de-4d22-4ec0-8e7a-e5e5cec95415 + position: {x: 890, y: 410} + nodeUIDs: + - + - 778f88f7-8b1a-4eca-9b66-d71ae4ac6491|0 + - 648ae4fd-044d-4751-b6dc-749a3782b2a5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Particle + Hit {0} at {1} + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: 778f88f7-8b1a-4eca-9b66-d71ae4ac6491 + position: {x: 560, y: 500} + nodeUIDs: + - bc22b6bf-ea2f-4c35-9d02-a2f58da265a3|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTime.__get_time__SystemSingle + uid: 648ae4fd-044d-4751-b6dc-749a3782b2a5 + position: {x: 660, y: 590} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + updateOrder: 0 + graphElementData: + - type: 5 + uid: 4b8d8270-2843-4eba-a790-535f6ebc72af + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 06df1696-996e-4929-84eb-dcbed8852eec + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -198.89558, y: 110.77393} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerCollisionParticles.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerCollisionParticles.asset.meta new file mode 100644 index 00000000..243c4403 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerCollisionParticles.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aaaeaa7ebc8e35a4e9ad1275785b2636 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: 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 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset.meta new file mode 100644 index 00000000..8cb40130 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/PlayerTrigger.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 73571ae951ee35b479181d7ee4a4be25 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Pooled Box.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Pooled Box.asset new file mode 100644 index 00000000..760f7cfd --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Pooled Box.asset @@ -0,0 +1,316 @@ +%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: Pooled Box + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 60665620ea3f3234f825f33970b7d737, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export pool\r\n \r\n __Boolean_0: + %SystemBoolean, null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_0: + %VRCSDK3ComponentsVRCObjectPool, null\r\n __obj_1: %UnityEngineGameObject, + this\r\n __instance_1: %VRCUdonUdonBehaviour, this\r\n __target_0: %VRCUdonCommonInterfacesNetworkEventTarget, + null\r\n __eventName_0: %SystemString, null\r\n __instance_2: %VRCSDK3ComponentsVRCObjectPool, + null\r\n __obj_2: %UnityEngineGameObject, this\r\n __object_0: %SystemObject, + null\r\n __result_0: %SystemBoolean, null\r\n __instance_3: %VRCSDK3ComponentsVRCObjectSync, + null\r\n __object_1: %SystemObject, null\r\n __Type_0: %SystemType, null\r\n + __result_1: %SystemBoolean, null\r\n __instance_4: %UnityEngineGameObject, + this\r\n __type_0: %SystemType, null\r\n __Type_1: %SystemType, null\r\n + pool: %VRCSDK3ComponentsVRCObjectPool, null\r\n __returnValue: %SystemObject, + null\r\n objectSync: %VRCSDK3ComponentsVRCObjectSync, 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, __obj_0\r\n + PUSH, __Boolean_0\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x0000005C\r\n PUSH, pool\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __obj_1\r\n EXTERN, \"VRCSDK3ComponentsVRCObjectPool.__Return__UnityEngineGameObject__SystemVoid\"\r\n + JUMP, 0x0000007C\r\n PUSH, __instance_1\r\n PUSH, __target_0\r\n + PUSH, __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export ReturnObject\r\n \r\n ReturnObject:\r\n + \r\n PUSH, pool\r\n PUSH, __instance_2\r\n COPY\r\n + PUSH, __instance_2\r\n PUSH, __obj_2\r\n EXTERN, \"VRCSDK3ComponentsVRCObjectPool.__Return__UnityEngineGameObject__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onEnable\r\n \r\n _onEnable:\r\n + \r\n PUSH, objectSync\r\n PUSH, __object_0\r\n COPY\r\n + PUSH, __object_0\r\n PUSH, __result_0\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_0\r\n JUMP_IF_FALSE, 0x00000120\r\n PUSH, objectSync\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n EXTERN, + \"VRCSDK3ComponentsVRCObjectSync.__Respawn__SystemVoid\"\r\n JUMP, 0x00000120\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n \r\n _start:\r\n + \r\n PUSH, __Type_0\r\n PUSH, __type_0\r\n COPY\r\n + PUSH, __instance_4\r\n PUSH, __type_0\r\n PUSH, __object_1\r\n + EXTERN, \"UnityEngineGameObject.__GetComponent__SystemType__UnityEngineComponent\"\r\n + PUSH, __object_1\r\n PUSH, __result_1\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_1\r\n JUMP_IF_FALSE, 0x000001C8\r\n PUSH, __Type_1\r\n + PUSH, __type_0\r\n COPY\r\n PUSH, __object_1\r\n PUSH, objectSync\r\n + COPY\r\n PUSH, __object_1\r\n PUSH, objectSync\r\n COPY\r\n + JUMP, 0x000001C8\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_VRCSDK3ComponentsVRCObjectPool + uid: cf69a3ca-d6ad-4bcd-af25-29492a3da7b0 + 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|pool + - 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: a6f6ff3d-fe47-401d-9f44-13593a94d4a2 + position: {x: 940, y: 450} + nodeUIDs: [] + flowUIDs: + - da4bfe57-0c9e-4eb5-971e-c0d4b466b4a0 + nodeValues: [] + - fullName: VRCSDK3ComponentsVRCObjectPool.__Return__UnityEngineGameObject__SystemVoid + uid: 721341eb-6e04-49d7-8276-7eee6a7538df + position: {x: 1480, y: 450} + nodeUIDs: + - 6577aecf-85f3-4cba-b450-508bcbb02f6b|0 + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 6577aecf-85f3-4cba-b450-508bcbb02f6b + position: {x: 1260, y: 530} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|cf69a3ca-d6ad-4bcd-af25-29492a3da7b0 + - fullName: Variable_SystemObject + uid: c87c543e-b928-4bf2-8a13-ab5da40172d1 + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: 60065287-0b8a-4fa7-83aa-97ec0d8c3ac4 + position: {x: 870, y: 560} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: da4bfe57-0c9e-4eb5-971e-c0d4b466b4a0 + position: {x: 1080, y: 450} + nodeUIDs: + - 60065287-0b8a-4fa7-83aa-97ec0d8c3ac4|0 + flowUIDs: + - 721341eb-6e04-49d7-8276-7eee6a7538df + - d3de19bd-f313-492d-b1d4-3eb8beb40024 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid + uid: d3de19bd-f313-492d-b1d4-3eb8beb40024 + position: {x: 1240, y: 640} + nodeUIDs: + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.Udon.Common.Interfaces.NetworkEventTarget, VRC.Udon.Common, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null|Owner + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ReturnObject + - fullName: Event_Custom + uid: 672a9e88-ca8f-45d3-b264-db6cd275ed9f + position: {x: 1260, y: 370} + nodeUIDs: + - + flowUIDs: + - 721341eb-6e04-49d7-8276-7eee6a7538df + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ReturnObject + - fullName: Event_OnEnable + uid: a8f69a89-ba2f-422a-b2e6-45470b21bdd0 + position: {x: 1120, y: 40} + nodeUIDs: [] + flowUIDs: + - 409ad916-7325-4de3-8beb-4aff88dfa529 + nodeValues: [] + - fullName: Variable_VRCSDK3ComponentsVRCObjectSync + uid: 92ff0f5b-9ab0-4f80-9060-5124716b0cc0 + 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|objectSync + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_Start + uid: 0d7d0b7f-8b65-4331-8f23-d836cc8787cc + position: {x: 1160, y: -270} + nodeUIDs: [] + flowUIDs: + - 3aebf48b-1538-4d51-a41d-c9aac4c034f4 + nodeValues: [] + - fullName: UnityEngineGameObject.__GetComponent__SystemType__UnityEngineComponent + uid: 13a167b5-c2dc-48a2-b1ad-1da7eac402c6 + position: {x: 1300, y: -200} + nodeUIDs: + - + - 259f0580-8fd1-4655-810e-0c706831974e|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Type_VRCSDK3ComponentsVRCObjectSync + uid: 259f0580-8fd1-4655-810e-0c706831974e + position: {x: 1100, y: -150} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Set_Variable + uid: 934e8ba8-3363-4668-bfa2-b7b6fa78d739 + position: {x: 1660, y: -250} + nodeUIDs: + - + - 13a167b5-c2dc-48a2-b1ad-1da7eac402c6|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|92ff0f5b-9ab0-4f80-9060-5124716b0cc0 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Is_Valid + uid: 3aebf48b-1538-4d51-a41d-c9aac4c034f4 + position: {x: 1500, y: -270} + nodeUIDs: + - 13a167b5-c2dc-48a2-b1ad-1da7eac402c6|0 + flowUIDs: + - 934e8ba8-3363-4668-bfa2-b7b6fa78d739 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: e98fb847-a71e-497d-b902-0b28f9c0747b + position: {x: 1090, y: 150} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|92ff0f5b-9ab0-4f80-9060-5124716b0cc0 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDK3ComponentsVRCObjectSync.__Respawn__SystemVoid + uid: 588628ac-f7a0-4324-9d35-89a61617e1b0 + position: {x: 1480, y: 120} + nodeUIDs: + - e98fb847-a71e-497d-b902-0b28f9c0747b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Is_Valid + uid: 409ad916-7325-4de3-8beb-4aff88dfa529 + position: {x: 1330, y: 40} + nodeUIDs: + - e98fb847-a71e-497d-b902-0b28f9c0747b|0 + flowUIDs: + - 588628ac-f7a0-4324-9d35-89a61617e1b0 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 2 + uid: 770a014b-0330-496c-83d0-8d384ee8bc21 + jsonData: '{"uid":"770a014b-0330-496c-83d0-8d384ee8bc21","layout":{"serializedVersion":"2","x":1060.0,"y":-20.0,"width":563.0,"height":283.0},"containedElements":["f22e4651-e70b-4fa2-a016-2e3f99ed2fc6","dce5d03c-36e5-4d1e-b3a1-c360a1e5ab60","5a77752d-95c2-4a05-81ec-bbe5de339fa6","349e104a-1845-4ad9-8c8b-944d9c3bf8e7","eea0c0c2-4706-4950-9c19-ff408aa5f58f","bc654efd-e450-40ce-8c64-062d9dc4901f","882f5306-f97a-4114-b0b1-7dfde5f452d2","a8f69a89-ba2f-422a-b2e6-45470b21bdd0","e98fb847-a71e-497d-b902-0b28f9c0747b","588628ac-f7a0-4324-9d35-89a61617e1b0","409ad916-7325-4de3-8beb-4aff88dfa529"],"title":"Restore + initial Position when Enabled","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 81bbf536-b2ac-44e2-868d-b3287ec1064c + jsonData: '{"uid":"81bbf536-b2ac-44e2-868d-b3287ec1064c","layout":{"serializedVersion":"2","x":840.0,"y":310.0,"width":927.0,"height":514.0},"containedElements":["0a0ae50a-7b4c-43e7-ba9b-f7f49f05347d","03f42b5a-ba87-44a1-9a82-b33b8f537ca7","d44119a2-46c0-4d80-94fc-d2fe8b306dfe","6577aecf-85f3-4cba-b450-508bcbb02f6b","721341eb-6e04-49d7-8276-7eee6a7538df","a6f6ff3d-fe47-401d-9f44-13593a94d4a2","447c80f8-2f8d-45b0-b798-1fa18d8022a2","1813c185-def5-4e7c-b0d5-9cc4ca41ddaa","60065287-0b8a-4fa7-83aa-97ec0d8c3ac4","da4bfe57-0c9e-4eb5-971e-c0d4b466b4a0","672a9e88-ca8f-45d3-b264-db6cd275ed9f","d3de19bd-f313-492d-b1d4-3eb8beb40024"],"title":"OnInteract, + Return Object to Pool if Owner, or send ReturnObject message to Owner","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: 1a238439-2ea4-45c9-978d-02a662335a48 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 5b23d6d5-e0a1-4297-9127-8b92c45110de + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: b05690c8-17f8-4729-ba24-fabdc8b52077 + jsonData: '{"uid":"b05690c8-17f8-4729-ba24-fabdc8b52077","layout":{"serializedVersion":"2","x":1080.0,"y":-330.0,"width":767.0,"height":292.0},"containedElements":["0d7d0b7f-8b65-4331-8f23-d836cc8787cc","3aebf48b-1538-4d51-a41d-c9aac4c034f4","934e8ba8-3363-4668-bfa2-b7b6fa78d739","13a167b5-c2dc-48a2-b1ad-1da7eac402c6","259f0580-8fd1-4655-810e-0c706831974e"],"title":"Get + ObjectSync component on this GameObject","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: -725.1483, y: 250.7201} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Pooled Box.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Pooled Box.asset.meta new file mode 100644 index 00000000..08250be3 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Pooled Box.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e1b45160fe9957145826cfa2a86419a1 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Projectile.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Projectile.asset new file mode 100644 index 00000000..0cee2586 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Projectile.asset @@ -0,0 +1,567 @@ +%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: Projectile + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 6194406d4a3ec6d458cac0b703ec802f, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export textField\r\n .export rigidbody\r\n + .export force\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 onPlayerCollisionEnterPlayer: + %VRCSDKBaseVRCPlayerApi, null\r\n __instance_1: %VRCSDKBaseVRCPlayerApi, null\r\n + __hand_0: %VRCSDKBaseVRC_PickupPickupHand, null\r\n __duration_0: %SystemSingle, + null\r\n __amplitude_0: %SystemSingle, null\r\n __frequency_0: %SystemSingle, + null\r\n __instance_2: %VRCSDKBaseVRCPlayerApi, null\r\n __hand_1: %VRCSDKBaseVRC_PickupPickupHand, + null\r\n __duration_1: %SystemSingle, null\r\n __amplitude_1: %SystemSingle, + null\r\n __frequency_1: %SystemSingle, null\r\n __instance_3: %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 onPlayerCollisionExitPlayer: %VRCSDKBaseVRCPlayerApi, null\r\n + __instance_4: %UnityEngineRigidbody, null\r\n __value_2: %UnityEngineVector3, + null\r\n __instance_5: %UnityEngineRigidbody, null\r\n __value_3: %UnityEngineQuaternion, + null\r\n __instance_6: %UnityEngineRigidbody, null\r\n __value_4: %UnityEngineVector3, + null\r\n __instance_7: %UnityEngineRigidbody, null\r\n __value_5: %UnityEngineVector3, + null\r\n __instance_8: %UnityEngineConstantForce, null\r\n __value_6: %SystemBoolean, + null\r\n __instance_9: %UnityEngineRigidbody, null\r\n __value_7: %UnityEngineVector3, + null\r\n __instance_A: %UnityEngineRigidbody, null\r\n __value_8: %UnityEngineQuaternion, + null\r\n __instance_B: %UnityEngineRigidbody, null\r\n __value_9: %UnityEngineVector3, + null\r\n __instance_C: %UnityEngineRigidbody, null\r\n __value_A: %UnityEngineVector3, + null\r\n __instance_D: %UnityEngineConstantForce, null\r\n __value_B: %SystemBoolean, + null\r\n __instance_E: %UnityEngineConstantForce, null\r\n __value_C: %SystemBoolean, + null\r\n __instance_F: %UnityEngineRigidbody, null\r\n textField: %UnityEngineUIText, + null\r\n rigidbody: %UnityEngineRigidbody, null\r\n force: %UnityEngineConstantForce, + null\r\n originalPosition: %UnityEngineVector3, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export _onPlayerCollisionEnter\r\n \r\n _onPlayerCollisionEnter:\r\n + \r\n PUSH, textField\r\n PUSH, __instance_0\r\n COPY\r\n + PUSH, onPlayerCollisionEnterPlayer\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 + PUSH, onPlayerCollisionEnterPlayer\r\n PUSH, __instance_1\r\n COPY\r\n + PUSH, __instance_1\r\n PUSH, __hand_0\r\n PUSH, __duration_0\r\n + PUSH, __amplitude_0\r\n PUSH, __frequency_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__PlayHapticEventInHand__VRCSDKBaseVRC_PickupPickupHand_SystemSingle_SystemSingle_SystemSingle__SystemVoid\"\r\n + PUSH, onPlayerCollisionEnterPlayer\r\n PUSH, __instance_2\r\n COPY\r\n + PUSH, __instance_2\r\n PUSH, __hand_1\r\n PUSH, __duration_1\r\n + PUSH, __amplitude_1\r\n PUSH, __frequency_1\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__PlayHapticEventInHand__VRCSDKBaseVRC_PickupPickupHand_SystemSingle_SystemSingle_SystemSingle__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onPlayerCollisionExit\r\n \r\n + _onPlayerCollisionExit:\r\n \r\n PUSH, textField\r\n PUSH, __instance_3\r\n + COPY\r\n PUSH, onPlayerCollisionExitPlayer\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_3\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_4\r\n COPY\r\n PUSH, + __instance_4\r\n PUSH, originalPosition\r\n EXTERN, \"UnityEngineRigidbody.__set_position__UnityEngineVector3__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_5\r\n COPY\r\n PUSH, + __value_3\r\n EXTERN, \"UnityEngineQuaternion.__get_identity__UnityEngineQuaternion\"\r\n + PUSH, __instance_5\r\n PUSH, __value_3\r\n EXTERN, \"UnityEngineRigidbody.__set_rotation__UnityEngineQuaternion__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_6\r\n COPY\r\n PUSH, + __instance_6\r\n PUSH, __value_4\r\n EXTERN, \"UnityEngineRigidbody.__set_angularVelocity__UnityEngineVector3__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_7\r\n COPY\r\n PUSH, + __instance_7\r\n PUSH, __value_5\r\n EXTERN, \"UnityEngineRigidbody.__set_velocity__UnityEngineVector3__SystemVoid\"\r\n + PUSH, force\r\n PUSH, __instance_8\r\n COPY\r\n PUSH, __instance_8\r\n + PUSH, __value_6\r\n EXTERN, \"UnityEngineConstantForce.__set_enabled__SystemBoolean__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export Fire\r\n \r\n Fire:\r\n \r\n + PUSH, rigidbody\r\n PUSH, __instance_9\r\n COPY\r\n PUSH, + __instance_9\r\n PUSH, originalPosition\r\n EXTERN, \"UnityEngineRigidbody.__set_position__UnityEngineVector3__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_A\r\n COPY\r\n PUSH, + __value_8\r\n EXTERN, \"UnityEngineQuaternion.__get_identity__UnityEngineQuaternion\"\r\n + PUSH, __instance_A\r\n PUSH, __value_8\r\n EXTERN, \"UnityEngineRigidbody.__set_rotation__UnityEngineQuaternion__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_B\r\n COPY\r\n PUSH, + __instance_B\r\n PUSH, __value_9\r\n EXTERN, \"UnityEngineRigidbody.__set_angularVelocity__UnityEngineVector3__SystemVoid\"\r\n + PUSH, rigidbody\r\n PUSH, __instance_C\r\n COPY\r\n PUSH, + __instance_C\r\n PUSH, __value_A\r\n EXTERN, \"UnityEngineRigidbody.__set_velocity__UnityEngineVector3__SystemVoid\"\r\n + PUSH, force\r\n PUSH, __instance_D\r\n COPY\r\n PUSH, __instance_D\r\n + PUSH, __value_B\r\n EXTERN, \"UnityEngineConstantForce.__set_enabled__SystemBoolean__SystemVoid\"\r\n + PUSH, force\r\n PUSH, __instance_E\r\n COPY\r\n PUSH, __instance_E\r\n + PUSH, __value_C\r\n EXTERN, \"UnityEngineConstantForce.__set_enabled__SystemBoolean__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n \r\n _start:\r\n + \r\n PUSH, rigidbody\r\n PUSH, __instance_F\r\n COPY\r\n + PUSH, __instance_F\r\n PUSH, originalPosition\r\n EXTERN, \"UnityEngineRigidbody.__get_position__UnityEngineVector3\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_UnityEngineUIText + uid: bff3e520-785e-4512-9b86-d24dd90abb4f + 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|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: Event_OnPlayerCollisionEnter + uid: 87e4069a-bcb7-49a9-905d-44511bd84604 + position: {x: -480, y: 1090} + nodeUIDs: [] + flowUIDs: + - 1514c56e-354c-4a4e-8d1b-a8743a963e3c + nodeValues: [] + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: c6209c70-e247-4d3e-a481-6c6d651e0e27 + position: {x: 820, y: 360} + nodeUIDs: + - 37608f88-5706-4997-8316-82a6b2e61e59|0 + - 36b15419-eb44-4b42-9ed8-e352a89025b1 + flowUIDs: + - a1f55fe5-7f6a-4d06-bbbb-3a6442a26706 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 36b15419-eb44-4b42-9ed8-e352a89025b1 + position: {x: 390, y: 520} + nodeUIDs: + - + - d079e361-94e4-47fc-a304-2e26ae9d3faf + 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: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: d079e361-94e4-47fc-a304-2e26ae9d3faf + position: {x: -10, y: 440} + nodeUIDs: + - 3597e2a0-e9b6-4c78-a4ef-068737635740|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 41a03b01-d00f-4c54-b015-b345ba82d088 + position: {x: 460, y: 760} + nodeUIDs: + - 5e79e721-375e-4001-aeb5-88fd6b4fb095|0 + - 204d56d0-8ebb-48e3-ad3c-1c4ddc14cc6a + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__get_displayName__SystemString + uid: f343c27a-2239-4559-b5f7-251207b50bb5 + position: {x: -290, y: 960} + nodeUIDs: + - 87e4069a-bcb7-49a9-905d-44511bd84604|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 204d56d0-8ebb-48e3-ad3c-1c4ddc14cc6a + position: {x: 20, y: 920} + nodeUIDs: + - + - f343c27a-2239-4559-b5f7-251207b50bb5 + 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: Event_OnPlayerCollisionExit + uid: 3597e2a0-e9b6-4c78-a4ef-068737635740 + position: {x: -290, y: 360} + nodeUIDs: [] + flowUIDs: + - c6209c70-e247-4d3e-a481-6c6d651e0e27 + nodeValues: [] + - fullName: Get_Variable + uid: 5e79e721-375e-4001-aeb5-88fd6b4fb095 + position: {x: 180, y: 830} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|bff3e520-785e-4512-9b86-d24dd90abb4f + - fullName: Get_Variable + uid: 37608f88-5706-4997-8316-82a6b2e61e59 + position: {x: 580, y: 440} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|bff3e520-785e-4512-9b86-d24dd90abb4f + - fullName: Event_Custom + uid: 62639a7c-e009-4105-a637-414091846758 + position: {x: 210, y: -290} + nodeUIDs: + - + flowUIDs: + - 6c09889d-9169-4cf6-8463-2d6ffe31f0cc + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Fire + - fullName: Variable_UnityEngineRigidbody + uid: ec7ab3cc-c5ad-46ea-a086-83467bbe0343 + 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|rigidbody + - 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_UnityEngineConstantForce + uid: 92bcae17-6e1d-463f-aadd-f2f689f1ed32 + position: {x: -1240, y: -30} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|force + - 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: 7ac6bedb-b038-4307-a648-190c49773602 + position: {x: 1220, y: 100} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|92bcae17-6e1d-463f-aadd-f2f689f1ed32 + - fullName: UnityEngineConstantForce.__set_enabled__SystemBoolean__SystemVoid + uid: 087521fc-9927-4da3-aa06-e3380a767e85 + position: {x: 1420, y: 50} + nodeUIDs: + - 7ac6bedb-b038-4307-a648-190c49773602|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: Get_Variable + uid: 4fb3cd62-e6e8-4ef7-9281-88300d6f0910 + position: {x: 1220, y: -160} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ec7ab3cc-c5ad-46ea-a086-83467bbe0343 + - fullName: UnityEngineRigidbody.__set_position__UnityEngineVector3__SystemVoid + uid: 59d88548-2808-4385-8e76-a4f200007d0d + position: {x: 1420, y: -260} + nodeUIDs: + - 4fb3cd62-e6e8-4ef7-9281-88300d6f0910|0 + - 49b1b8b4-3558-4fa0-b1c0-d3acca2f67b6|0 + flowUIDs: + - a6454bad-4cd9-493d-a13f-09f95ecd5a09 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":-0.15000000596046449,"y":0.1720000058412552,"z":-2.190000057220459} + - fullName: Event_Start + uid: f91d0677-eec3-4333-8660-40e837b9f828 + position: {x: -200, y: -290} + nodeUIDs: [] + flowUIDs: + - 2fcfeba6-9c5c-45b4-bddb-1d87439b5937 + nodeValues: [] + - fullName: Variable_UnityEngineVector3 + uid: 570475e3-c3b2-4cfa-bbf7-2f4c75c308fc + 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|originalPosition + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: 2fcfeba6-9c5c-45b4-bddb-1d87439b5937 + position: {x: -80, y: -290} + nodeUIDs: + - + - e7316895-c7c8-4844-be11-0b9390d15c38|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|570475e3-c3b2-4cfa-bbf7-2f4c75c308fc + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|originalPosition + - fullName: Get_Variable + uid: be393060-cb57-4223-acc2-4d6c8e9ab58f + position: {x: -580, y: -190} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ec7ab3cc-c5ad-46ea-a086-83467bbe0343 + - fullName: UnityEngineRigidbody.__get_position__UnityEngineVector3 + uid: e7316895-c7c8-4844-be11-0b9390d15c38 + position: {x: -340, y: -200} + nodeUIDs: + - be393060-cb57-4223-acc2-4d6c8e9ab58f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 49b1b8b4-3558-4fa0-b1c0-d3acca2f67b6 + position: {x: 1200, y: -300} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|570475e3-c3b2-4cfa-bbf7-2f4c75c308fc + - fullName: UnityEngineRigidbody.__set_velocity__UnityEngineVector3__SystemVoid + uid: 3bd54337-2fbf-4490-8a90-de1be76a2854 + position: {x: 1740, y: -110} + nodeUIDs: + - 4fb3cd62-e6e8-4ef7-9281-88300d6f0910|0 + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: Block + uid: 6c09889d-9169-4cf6-8463-2d6ffe31f0cc + position: {x: 480, y: -270} + nodeUIDs: [] + flowUIDs: + - a1f55fe5-7f6a-4d06-bbbb-3a6442a26706 + - e4fdea5f-6382-417f-ae2b-f2d1e83e0959 + nodeValues: [] + - fullName: Get_Variable + uid: 871f862a-6c4c-46c2-9405-9b214b069d32 + position: {x: 420, y: -90} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|92bcae17-6e1d-463f-aadd-f2f689f1ed32 + - fullName: UnityEngineConstantForce.__set_enabled__SystemBoolean__SystemVoid + uid: e4fdea5f-6382-417f-ae2b-f2d1e83e0959 + position: {x: 640, y: -170} + nodeUIDs: + - 871f862a-6c4c-46c2-9405-9b214b069d32 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: UnityEngineRigidbody.__set_angularVelocity__UnityEngineVector3__SystemVoid + uid: b7e7bd7f-6cc5-42c6-828f-5fe132bcb010 + position: {x: 1420, y: -110} + nodeUIDs: + - 4fb3cd62-e6e8-4ef7-9281-88300d6f0910|0 + - + flowUIDs: + - 3bd54337-2fbf-4490-8a90-de1be76a2854 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: Block + uid: a1f55fe5-7f6a-4d06-bbbb-3a6442a26706 + position: {x: 1010, y: -210} + nodeUIDs: [] + flowUIDs: + - 59d88548-2808-4385-8e76-a4f200007d0d + - b7e7bd7f-6cc5-42c6-828f-5fe132bcb010 + - 087521fc-9927-4da3-aa06-e3380a767e85 + nodeValues: [] + - fullName: UnityEngineRigidbody.__set_rotation__UnityEngineQuaternion__SystemVoid + uid: a6454bad-4cd9-493d-a13f-09f95ecd5a09 + position: {x: 1700, y: -360} + nodeUIDs: + - 4fb3cd62-e6e8-4ef7-9281-88300d6f0910|0 + - b387fe24-1783-4d5a-bb3b-3652a0c1d3c2|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0,"w":0.0} + - fullName: UnityEngineQuaternion.__get_identity__UnityEngineQuaternion + uid: b387fe24-1783-4d5a-bb3b-3652a0c1d3c2 + position: {x: 1400, y: -360} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApi.__PlayHapticEventInHand__VRCSDKBaseVRC_PickupPickupHand_SystemSingle_SystemSingle_SystemSingle__SystemVoid + uid: 62e78f50-8def-423c-943a-af9b01df8cd2 + position: {x: 130, y: 1160} + nodeUIDs: + - 87e4069a-bcb7-49a9-905d-44511bd84604|0 + - + - + - + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.SDKBase.VRC_Pickup+PickupHand, VRCSDKBase, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|Left + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.25 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Block + uid: 1514c56e-354c-4a4e-8d1b-a8743a963e3c + position: {x: -190, y: 780} + nodeUIDs: [] + flowUIDs: + - 41a03b01-d00f-4c54-b015-b345ba82d088 + - 62e78f50-8def-423c-943a-af9b01df8cd2 + - 9f08478d-6bf8-47ab-8ca0-785805bb4765 + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApi.__PlayHapticEventInHand__VRCSDKBaseVRC_PickupPickupHand_SystemSingle_SystemSingle_SystemSingle__SystemVoid + uid: 9f08478d-6bf8-47ab-8ca0-785805bb4765 + position: {x: 130, y: 1370} + nodeUIDs: + - 87e4069a-bcb7-49a9-905d-44511bd84604|0 + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: VRC.SDKBase.VRC_Pickup+PickupHand, VRCSDKBase, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|Right + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.25 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + updateOrder: 0 + graphElementData: + - type: 2 + uid: 3f045a31-2377-4ad3-a287-950836577de1 + jsonData: '{"uid":"3f045a31-2377-4ad3-a287-950836577de1","layout":{"serializedVersion":"2","x":990.0,"y":-420.0,"width":770.0,"height":708.0},"containedElements":["3bd54337-2fbf-4490-8a90-de1be76a2854","087521fc-9927-4da3-aa06-e3380a767e85","7ac6bedb-b038-4307-a648-190c49773602","59d88548-2808-4385-8e76-a4f200007d0d","49b1b8b4-3558-4fa0-b1c0-d3acca2f67b6","4fb3cd62-e6e8-4ef7-9281-88300d6f0910","b7e7bd7f-6cc5-42c6-828f-5fe132bcb010","a1f55fe5-7f6a-4d06-bbbb-3a6442a26706","a6454bad-4cd9-493d-a13f-09f95ecd5a09","2e77f69e-ee22-48e0-8293-b1cec51f56b6","0a5f52ee-c979-40da-b45d-df82f3841044","b387fe24-1783-4d5a-bb3b-3652a0c1d3c2"],"title":"Reset","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: f657bd0f-8be1-4fe3-a95d-3f25262cf764 + jsonData: '{"uid":"f657bd0f-8be1-4fe3-a95d-3f25262cf764","layout":{"serializedVersion":"2","x":-610.0,"y":-350.0,"width":758.0,"height":271.0},"containedElements":["e7316895-c7c8-4844-be11-0b9390d15c38","be393060-cb57-4223-acc2-4d6c8e9ab58f","2fcfeba6-9c5c-45b4-bddb-1d87439b5937","f91d0677-eec3-4333-8660-40e837b9f828"],"title":"Save + Original Position on Start","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 2e21319c-a790-4abb-bee1-8744649a2c8a + jsonData: '{"uid":"2e21319c-a790-4abb-bee1-8744649a2c8a","layout":{"serializedVersion":"2","x":-320.0,"y":700.0,"width":1404.0,"height":376.0},"containedElements":["5e79e721-375e-4001-aeb5-88fd6b4fb095","f343c27a-2239-4559-b5f7-251207b50bb5","41a03b01-d00f-4c54-b015-b345ba82d088","204d56d0-8ebb-48e3-ad3c-1c4ddc14cc6a"],"title":"Show + Name on PlayerCollisionEnter","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 38195f3f-3c20-471f-82f0-1b167ad25cfb + jsonData: '{"uid":"38195f3f-3c20-471f-82f0-1b167ad25cfb","layout":{"serializedVersion":"2","x":-320.0,"y":300.0,"width":1344.0,"height":376.0},"containedElements":["37608f88-5706-4997-8316-82a6b2e61e59","3597e2a0-e9b6-4c78-a4ef-068737635740","d079e361-94e4-47fc-a304-2e26ae9d3faf","36b15419-eb44-4b42-9ed8-e352a89025b1","c6209c70-e247-4d3e-a481-6c6d651e0e27"],"title":"Show + Name on PlayerCollision Exit, Then Reset","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 4203bd17-0d09-4c72-b3e8-87373e93043d + jsonData: '{"uid":"4203bd17-0d09-4c72-b3e8-87373e93043d","layout":{"serializedVersion":"2","x":190.0,"y":-350.0,"width":767.0,"height":371.0},"containedElements":["e4fdea5f-6382-417f-ae2b-f2d1e83e0959","871f862a-6c4c-46c2-9405-9b214b069d32","6c09889d-9169-4cf6-8463-2d6ffe31f0cc","62639a7c-e009-4105-a637-414091846758"],"title":"On + Fire, Reset then Enable Force","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 7a2da873-b9a0-47af-b972-230dce09ae2e + jsonData: '{"uid":"7a2da873-b9a0-47af-b972-230dce09ae2e","layout":{"serializedVersion":"2","x":100.0,"y":1100.0,"width":408.0,"height":488.0},"containedElements":["62e78f50-8def-423c-943a-af9b01df8cd2","9f08478d-6bf8-47ab-8ca0-785805bb4765"],"title":"Vibrate + Hands on PlayerCollisionEnter","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: 986fdd7a-9014-48bd-a93e-f13a93de124a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":202.0,"height":251.0}}' + - type: 4 + uid: 6ddcb637-60bd-4395-90b4-c7c38ea44352 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 153.93909, y: 581.8178} + scale: 0.8695652 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Projectile.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Projectile.asset.meta new file mode 100644 index 00000000..b894f13b --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/Projectile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c69b708d523a01b449b6ca21384d958c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: 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 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset.meta new file mode 100644 index 00000000..6f855624 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnInteract.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6657daa4973ee1249aae293810e8bccd +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnMouseDown.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnMouseDown.asset new file mode 100644 index 00000000..244de295 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnMouseDown.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: SendEventOnMouseDown + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 74ddd85c07a46f54ea650dc0ddc524db, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export eventName\r\n .export target\r\n + \r\n __instance_0: %VRCUdonUdonBehaviour, this\r\n __eventName_0: %SystemString, + null\r\n eventName: %SystemString, null\r\n target: %VRCUdonUdonBehaviour, + this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _onMouseDown\r\n + \r\n _onMouseDown:\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: Variable_SystemString + uid: 7e783d52-96ad-43d3-b862-2216d7968134 + position: {x: -132, y: -540} + 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_OnMouseDown + uid: 0e71e755-ddac-49ff-b331-2767adffa133 + position: {x: -370, y: -60} + nodeUIDs: [] + flowUIDs: + - fd2ff099-6a51-4763-b492-937d90607371 + nodeValues: [] + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: fd2ff099-6a51-4763-b492-937d90607371 + position: {x: 30, y: 10} + nodeUIDs: + - af936f40-8d0c-4690-aea0-0ab99a6e78cf|0 + - 4d960f1b-8b09-4cd0-ac3d-d10beee70a3b|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 4d960f1b-8b09-4cd0-ac3d-d10beee70a3b + position: {x: -360, y: 120} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|7e783d52-96ad-43d3-b862-2216d7968134 + - fullName: Variable_VRCUdonCommonInterfacesIUdonEventReceiver + uid: 4e3b3272-08b8-470f-8e87-c8708aeec7fc + position: {x: 84, y: -540} + 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: af936f40-8d0c-4690-aea0-0ab99a6e78cf + position: {x: -360, y: 30} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|4e3b3272-08b8-470f-8e87-c8708aeec7fc + updateOrder: 0 + graphElementData: + - type: 2 + uid: + jsonData: '{"uid":"e1d1464d-e564-4c0a-b92f-10d9e3492549","layout":{"serializedVersion":"2","x":-391.5,"y":-119.82000732421875,"width":776.0,"height":350.0},"containedElements":["fd2ff099-6a51-4763-b492-937d90607371","0e71e755-ddac-49ff-b331-2767adffa133","af936f40-8d0c-4690-aea0-0ab99a6e78cf","4d960f1b-8b09-4cd0-ac3d-d10beee70a3b","6ab2df27-8f7e-42bb-a469-69925a950508","f6234e76-9a16-4ef3-be23-91c22c800349","c99ea694-39d2-4c6e-872f-e98e92ae54f4"],"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: 8ffed48f-38cd-4031-98ad-a29f7153423b + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":226.0,"height":246.0}}' + - type: 4 + uid: 3a46b1a8-3057-4017-b7d0-8c66431cc43f + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 703.99774, y: 374.078} + scale: 0.7561437 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnMouseDown.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnMouseDown.asset.meta new file mode 100644 index 00000000..60e9354f --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnMouseDown.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a7250c474046ad245ac64456f76800ca +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnTimer.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnTimer.asset new file mode 100644 index 00000000..36b5cf39 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnTimer.asset @@ -0,0 +1,276 @@ +%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: a446c6af7d1199749baa6d1faf82a075, + 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 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnTimer.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnTimer.asset.meta new file mode 100644 index 00000000..607176b6 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SendEventOnTimer.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 980a7697571ae1540827c8b930f79790 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: 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 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset.meta new file mode 100644 index 00000000..ad18bf93 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetActiveFromPlayerTrigger.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f6978e5f7a08f4047b4b9cf219efba6b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetAllPlayersMaxAudioDistance.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetAllPlayersMaxAudioDistance.asset new file mode 100644 index 00000000..501b0941 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetAllPlayersMaxAudioDistance.asset @@ -0,0 +1,236 @@ +%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: SetAllPlayersMaxAudioDistance + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: f70fef69a2905794283933a15ac0d8c0, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export maxDistance\r\n \r\n __index_0: + %SystemInt32, null\r\n __condition_0: %SystemBoolean, null\r\n __Boolean_0: + %SystemBoolean, null\r\n __Object_0: %SystemObject, null\r\n __Object_1: + %SystemObject, null\r\n __var_0: %SystemObject, null\r\n __instance_2: + %VRCSDKBaseVRCPlayerApi, null\r\n __far_0: %SystemSingle, null\r\n __instance_3: + %VRCSDKBaseVRCPlayerApi, null\r\n __distance_0: %SystemSingle, null\r\n + __instance_1: %VRCSDKBaseVRCPlayerApiArray, null\r\n __Int32_1: %SystemInt32, + null\r\n __players_0: %VRCSDKBaseVRCPlayerApiArray, null\r\n __start_0: + %SystemInt32, null\r\n __end_0: %SystemInt32, null\r\n __step_0: %SystemInt32, + null\r\n __instance_0: %VRCSDKBaseVRCPlayerApiArray, null\r\n __Int32_0: + %SystemInt32, null\r\n maxDistance: %SystemSingle, 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, __Int32_0\r\n + PUSH, __instance_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApiArray.__ctor__SystemInt32__VRCSDKBaseVRCPlayerApiArray\"\r\n + PUSH, __instance_0\r\n PUSH, __end_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApiArray.__get_Length__SystemInt32\"\r\n + PUSH, __start_0\r\n PUSH, __index_0\r\n COPY\r\n PUSH, __index_0\r\n + PUSH, __end_0\r\n PUSH, __condition_0\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __condition_0\r\n JUMP_IF_FALSE, 0x000001F0\r\n PUSH, __instance_0\r\n + PUSH, __players_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __instance_1\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__GetPlayers__VRCSDKBaseVRCPlayerApiArray__VRCSDKBaseVRCPlayerApiArray\"\r\n + PUSH, __index_0\r\n PUSH, __Int32_1\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __Int32_1\r\n PUSH, __Object_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApiArray.__Get__SystemInt32__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __var_0\r\n PUSH, __Object_1\r\n COPY\r\n PUSH, __Object_0\r\n + PUSH, __Object_1\r\n PUSH, __Boolean_0\r\n EXTERN, \"SystemObject.__op_Inequality__SystemObject_SystemObject__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000001C8\r\n PUSH, __instance_0\r\n + PUSH, __players_0\r\n COPY\r\n PUSH, __index_0\r\n PUSH, + __Int32_1\r\n COPY\r\n PUSH, __Object_0\r\n PUSH, __instance_2\r\n + COPY\r\n PUSH, __Object_0\r\n PUSH, maxDistance\r\n EXTERN, + \"VRCSDKBaseVRCPlayerApi.__SetVoiceDistanceFar__SystemSingle__SystemVoid\"\r\n + PUSH, __instance_0\r\n PUSH, __players_0\r\n COPY\r\n PUSH, + __index_0\r\n PUSH, __Int32_1\r\n COPY\r\n PUSH, __Object_0\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __Object_0\r\n PUSH, + maxDistance\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__SetAvatarAudioFarRadius__SystemSingle__SystemVoid\"\r\n + JUMP, 0x000001C8\r\n PUSH, __index_0\r\n PUSH, __step_0\r\n + PUSH, __index_0\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + JUMP, 0x00000044\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_SystemSingle + uid: 41d495ae-1331-4ab9-bb00-f6e3844acfcd + 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|maxDistance + - 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: 5cf1f089-94c2-4770-a1c0-b164f60d7bf7 + position: {x: 1570.3755, y: 440.48584} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|41d495ae-1331-4ab9-bb00-f6e3844acfcd + - fullName: VRCSDKBaseVRCPlayerApiArray.__ctor__SystemInt32__VRCSDKBaseVRCPlayerApiArray + uid: 43786ea1-0a43-4d0f-9775-f0aed4e2c5fe + position: {x: 208.3397, y: 400.87683} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|8 + - fullName: VRCSDKBaseVRCPlayerApiArray.__get_Length__SystemInt32 + uid: bb1afc1e-fe52-410c-926b-898e50b65165 + position: {x: 420.26245, y: 256.4167} + nodeUIDs: + - 43786ea1-0a43-4d0f-9775-f0aed4e2c5fe|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: For + uid: 457c5494-413f-41a5-a7de-ad3ca6518e18 + position: {x: 695.4876, y: 191.46388} + nodeUIDs: + - + - bb1afc1e-fe52-410c-926b-898e50b65165|0 + - + flowUIDs: + - 6e3b3c30-35cd-4cd5-8e7c-360cfcb6d044 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Event_Interact + uid: db7b9c11-75bf-4976-8c7c-6abfe5061ec6 + position: {x: 547.7544, y: 165.47472} + nodeUIDs: [] + flowUIDs: + - 457c5494-413f-41a5-a7de-ad3ca6518e18 + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApiArray.__Get__SystemInt32__VRCSDKBaseVRCPlayerApi + uid: 2d3bd590-c7dc-4190-95e2-effd3ce1bfa7 + position: {x: 893.10547, y: 400.0312} + nodeUIDs: + - 13b8c47e-1340-4392-bbcd-1fd439b16c27|0 + - 457c5494-413f-41a5-a7de-ad3ca6518e18|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Branch + uid: 6e3b3c30-35cd-4cd5-8e7c-360cfcb6d044 + position: {x: 1361.6233, y: 186.31009} + nodeUIDs: + - a0bd3f50-668b-420e-844c-536d8a4530d5|0 + flowUIDs: + - e45965b1-be04-448c-8f32-de5c5fe9ce89 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemObject.__op_Inequality__SystemObject_SystemObject__SystemBoolean + uid: a0bd3f50-668b-420e-844c-536d8a4530d5 + position: {x: 1178.9456, y: 261.78915} + nodeUIDs: + - 2d3bd590-c7dc-4190-95e2-effd3ce1bfa7|0 + - c42b64c8-30a2-4619-abf1-3da339159b2a|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Const_Null + uid: c42b64c8-30a2-4619-abf1-3da339159b2a + position: {x: 1051.0082, y: 287.23203} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__GetPlayers__VRCSDKBaseVRCPlayerApiArray__VRCSDKBaseVRCPlayerApiArray + uid: 13b8c47e-1340-4392-bbcd-1fd439b16c27 + position: {x: 589.74316, y: 402.59503} + nodeUIDs: + - 43786ea1-0a43-4d0f-9775-f0aed4e2c5fe|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__SetVoiceDistanceFar__SystemSingle__SystemVoid + uid: 0fd3e05e-7e7d-454d-856b-6bda42760146 + position: {x: 1755.559, y: 327.15527} + nodeUIDs: + - 2d3bd590-c7dc-4190-95e2-effd3ce1bfa7|0 + - 5cf1f089-94c2-4770-a1c0-b164f60d7bf7|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCSDKBaseVRCPlayerApi.__SetAvatarAudioFarRadius__SystemSingle__SystemVoid + uid: b78d84d3-6acd-4fbd-b2b3-d288d1c60b28 + position: {x: 1759.1759, y: 459.5569} + nodeUIDs: + - 2d3bd590-c7dc-4190-95e2-effd3ce1bfa7|0 + - 5cf1f089-94c2-4770-a1c0-b164f60d7bf7|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Block + uid: e45965b1-be04-448c-8f32-de5c5fe9ce89 + position: {x: 1590.7582, y: 274.69427} + nodeUIDs: [] + flowUIDs: + - 0fd3e05e-7e7d-454d-856b-6bda42760146 + - b78d84d3-6acd-4fbd-b2b3-d288d1c60b28 + nodeValues: [] + updateOrder: 0 + graphElementData: + - type: 2 + uid: + jsonData: '{"uid":"33884f4e-b34c-498f-8124-30c4716e8cfd","layout":{"serializedVersion":"2","x":1431.9425048828125,"y":195.11395263671876,"width":128.0,"height":128.0},"containedElements":["c42b64c8-30a2-4619-abf1-3da339159b2a","a0bd3f50-668b-420e-844c-536d8a4530d5","6e3b3c30-35cd-4cd5-8e7c-360cfcb6d044"],"title":"Check + that Player exists","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: + jsonData: '{"uid":"cd914d85-1505-4159-9007-61b1e8932e34","layout":{"serializedVersion":"2","x":1545.3756103515625,"y":210.69424438476563,"width":606.0,"height":401.0},"containedElements":["e45965b1-be04-448c-8f32-de5c5fe9ce89","b78d84d3-6acd-4fbd-b2b3-d288d1c60b28","0fd3e05e-7e7d-454d-856b-6bda42760146","5cf1f089-94c2-4770-a1c0-b164f60d7bf7"],"title":"Set + Voice and Avatar Audio to maxDistance","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: dc63dc6b-f6d7-4ba5-b506-93cb1352c962 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: da536a20-8ebd-453c-96bf-f297a234d10a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 209.02821, y: 158.07794} + scale: 0.65751624 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetAllPlayersMaxAudioDistance.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetAllPlayersMaxAudioDistance.asset.meta new file mode 100644 index 00000000..4834a349 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SetAllPlayersMaxAudioDistance.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1f7e9fb643472ef4d83f2ad49fe34b18 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimpleForLoop.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimpleForLoop.asset new file mode 100644 index 00000000..82a231d9 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimpleForLoop.asset @@ -0,0 +1,225 @@ +%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: SimpleForLoop + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: e78613481d3edf74982001e8f88c6e4a, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export textField\r\n .export numberOfLoops\r\n + \r\n __instance_0: %UnityEngineUIText, null\r\n __value_0: %SystemString, + null\r\n __index_0: %SystemInt32, null\r\n __condition_0: %SystemBoolean, + null\r\n __instance_1: %UnityEngineUIText, null\r\n __value_1: %SystemString, + null\r\n __arg0_0: %SystemObject, null\r\n __arg1_0: %SystemObject, null\r\n + __instance_2: %UnityEngineUIText, null\r\n __start_0: %SystemInt32, null\r\n + __end_0: %SystemInt32, null\r\n __step_0: %SystemInt32, null\r\n textField: + %UnityEngineUIText, null\r\n numberOfLoops: %SystemInt32, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export runLoop\r\n \r\n runLoop:\r\n \r\n PUSH, textField\r\n + PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __value_0\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + PUSH, __start_0\r\n PUSH, __index_0\r\n COPY\r\n PUSH, __index_0\r\n + PUSH, numberOfLoops\r\n PUSH, __condition_0\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __condition_0\r\n JUMP_IF_FALSE, 0x00000124\r\n PUSH, textField\r\n + PUSH, __instance_1\r\n COPY\r\n PUSH, textField\r\n PUSH, + __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, __arg0_0\r\n + EXTERN, \"UnityEngineUIText.__get_text__SystemString\"\r\n PUSH, __index_0\r\n + PUSH, __arg1_0\r\n COPY\r\n PUSH, __arg0_0\r\n PUSH, __arg1_0\r\n + PUSH, __value_1\r\n EXTERN, \"SystemString.__Concat__SystemObject_SystemObject__SystemString\"\r\n + PUSH, __instance_1\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + PUSH, __index_0\r\n PUSH, __step_0\r\n PUSH, __index_0\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + JUMP, 0x00000040\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: For + uid: e1503096-c825-4660-b60a-e1a2cb834dad + position: {x: 587.6804, y: -705.00446} + nodeUIDs: + - + - c0b36ed6-7fb0-46dc-afe0-c613fda24076|0 + - + flowUIDs: + - 87e45329-d5c4-45a9-b594-7fa0e67b01ef + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 87e45329-d5c4-45a9-b594-7fa0e67b01ef + position: {x: 1278.6003, y: -708.00024} + nodeUIDs: + - b822ca4a-6822-480a-b0f9-7d7a96298011|0 + - 44ae4d9d-7f39-4805-8359-dec0d5673d6f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Concat__SystemObject_SystemObject__SystemString + uid: 44ae4d9d-7f39-4805-8359-dec0d5673d6f + position: {x: 1026.8503, y: -550.0002} + nodeUIDs: + - 6b471919-11bb-4083-ad4a-d1b9a47c2e47|0 + - e1503096-c825-4660-b60a-e1a2cb834dad|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineUIText + uid: 49c910c5-c46b-474d-91ac-86be3b5914f5 + position: {x: -192, y: -840} + 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|loop + - fullName: Get_Variable + uid: 302fb0b7-2011-4250-82a6-aab26253d4a3 + position: {x: -133.65009, y: -589.6718} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|49c910c5-c46b-474d-91ac-86be3b5914f5 + - fullName: Event_Custom + uid: ebec4f91-b203-4a2e-b52a-0d6167e6f949 + position: {x: -187.30438, y: -707.3043} + nodeUIDs: + - + flowUIDs: + - 76a9e133-ce1d-40f8-878e-519790db786c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|runLoop + - fullName: UnityEngineUIText.__get_text__SystemString + uid: 6b471919-11bb-4083-ad4a-d1b9a47c2e47 + position: {x: 41.49785, y: -515.8067} + nodeUIDs: + - 302fb0b7-2011-4250-82a6-aab26253d4a3|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: b822ca4a-6822-480a-b0f9-7d7a96298011 + position: {x: 1058.1002, y: -638.1003} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|49c910c5-c46b-474d-91ac-86be3b5914f5 + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 76a9e133-ce1d-40f8-878e-519790db786c + position: {x: 48, y: -708} + nodeUIDs: + - 302fb0b7-2011-4250-82a6-aab26253d4a3|0 + - + flowUIDs: + - e1503096-c825-4660-b60a-e1a2cb834dad + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|loops:' + - fullName: Variable_SystemInt32 + uid: 6343df08-f39e-40a1-8368-a69a4942cab6 + position: {x: -192, y: -1008} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|numberOfLoops + - 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|loops:' + - fullName: Get_Variable + uid: c0b36ed6-7fb0-46dc-afe0-c613fda24076 + position: {x: 370.79575, y: -609.71545} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6343df08-f39e-40a1-8368-a69a4942cab6 + updateOrder: 0 + graphElementData: + - type: 3 + uid: 4c9d90e7-ea8f-4b1a-bb27-526f6482a216 + jsonData: '{"uid":"4c9d90e7-ea8f-4b1a-bb27-526f6482a216","layout":{"serializedVersion":"2","x":913.2000732421875,"y":-399.25018310546877,"width":339.9499816894531,"height":99.05000305175781},"title":"string + Concat adds strings together - in this case, add a number to the current text + in the TextField","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: d69b2ba6-6adc-4ae8-b5d8-0b88b4a47042 + jsonData: '{"uid":"d69b2ba6-6adc-4ae8-b5d8-0b88b4a47042","layout":{"serializedVersion":"2","x":-711.9537963867188,"y":-708.876708984375,"width":501.75,"height":79.10001373291016},"title":"this + event is called from the SendEventOnMouseDown graph on the ClickableCubeForLoop","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 388e734b-7473-487c-bf34-72f6eed5a0fd + jsonData: '{"uid":"388e734b-7473-487c-bf34-72f6eed5a0fd","layout":{"serializedVersion":"2","x":-452.39984130859377,"y":-564.6920776367188,"width":305.1000671386719,"height":40.00000762939453},"title":"get + the public TextField variable","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 4c1d5fe2-12c2-48fe-a0d4-1aace70c606d + jsonData: '{"uid":"4c1d5fe2-12c2-48fe-a0d4-1aace70c606d","layout":{"serializedVersion":"2","x":45.55017852783203,"y":-427.8421936035156,"width":333.8500671386719,"height":68.75000762939453},"title":"Get + the current text in the TextField so we can add to it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 3516f6f2-aa41-440f-b578-beefb87cb39d + jsonData: '{"uid":"3516f6f2-aa41-440f-b578-beefb87cb39d","layout":{"serializedVersion":"2","x":1287.2772216796875,"y":-783.47607421875,"width":285.0,"height":67.0},"title":"Set + the text in the TextField to this new combined string","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 4524fdf1-99ae-4c5f-8be8-699313990546 + jsonData: '{"uid":"4524fdf1-99ae-4c5f-8be8-699313990546","layout":{"serializedVersion":"2","x":429.2772216796875,"y":-813.47607421875,"width":512.0,"height":94.0},"title":"The + For node runs ''numberOfLoops'' times, running the flow connected to ''Body'' + each time, with the ''int'' output set to the number of the loop we''re on + - 0,1,2 etc.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 0, y: 0} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimpleForLoop.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimpleForLoop.asset.meta new file mode 100644 index 00000000..85050a14 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimpleForLoop.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: acd8738ca64f5a9448dfb040d1f2e4d5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimplePen.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimplePen.asset new file mode 100644 index 00000000..519e3b42 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimplePen.asset @@ -0,0 +1,1380 @@ +%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: SimplePen + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 84a681b1a50ad6649a7bc2de5216acd5, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export minMoveDistance\r\n .export penTip\r\n + .export pointsPerUpdate\r\n .export linesContainer\r\n .sync nextLineIndex, + none\r\n \r\n __instance_1: %UnityEngineLineRenderer, null\r\n __type_0: + %SystemType, null\r\n __Type_0: %SystemType, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi, + null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_3: %UnityEngineGameObject, + this\r\n __value_0: %SystemBoolean, null\r\n __instance_2: %UnityEngineLineRenderer, + null\r\n __instance_0: %UnityEngineLineRendererArray, null\r\n __Int32_0: + %SystemInt32, null\r\n __Boolean_0: %SystemBoolean, null\r\n __Int32_1: + %SystemInt32, null\r\n __Int32_2: %SystemInt32, null\r\n __instance_4: + %UnityEngineLineRendererArray, null\r\n __Int32_5: %SystemInt32, null\r\n + __Int32_3: %SystemInt32, null\r\n __Int32_4: %SystemInt32, null\r\n __Boolean_1: + %SystemBoolean, null\r\n __instance_5: %UnityEngineLineRenderer, null\r\n + __value_1: %SystemInt32, null\r\n __instance_6: %UnityEngineTransform, this\r\n + __Int32_6: %SystemInt32, null\r\n __index_0: %SystemInt32, null\r\n __condition_0: + %SystemBoolean, null\r\n __instance_7: %UnityEngineLineRenderer, null\r\n + __index_1: %SystemInt32, null\r\n __position_0: %UnityEngineVector3, null\r\n + __start_0: %SystemInt32, null\r\n __end_0: %SystemInt32, null\r\n __step_0: + %SystemInt32, null\r\n __instance_8: %UnityEngineTransform, this\r\n __Boolean_2: + %SystemBoolean, null\r\n __instance_9: %VRCUdonUdonBehaviour, this\r\n + __eventName_0: %SystemString, null\r\n __Boolean_3: %SystemBoolean, null\r\n + __Boolean_4: %SystemBoolean, null\r\n __Single_0: %SystemSingle, null\r\n + __Single_1: %SystemSingle, null\r\n __a_0: %UnityEngineVector3, null\r\n + __b_0: %UnityEngineVector3, null\r\n __instance_A: %UnityEngineTransform, + this\r\n __instance_B: %UnityEngineLineRenderer, null\r\n __value_2: %SystemInt32, + null\r\n __Int32_7: %SystemInt32, null\r\n __Int32_8: %SystemInt32, null\r\n + __instance_C: %UnityEngineLineRenderer, null\r\n __index_2: %SystemInt32, + null\r\n __position_1: %UnityEngineVector3, null\r\n __instance_D: %UnityEngineTransform, + this\r\n __Boolean_5: %SystemBoolean, null\r\n __Int32_B: %SystemInt32, + null\r\n __Int32_C: %SystemInt32, null\r\n __Int32_D: %SystemInt32, null\r\n + __Int32_E: %SystemInt32, null\r\n __Int32_9: %SystemInt32, null\r\n __Int32_A: + %SystemInt32, null\r\n __instance_E: %VRCUdonUdonBehaviour, this\r\n __eventName_1: + %SystemString, null\r\n __Boolean_6: %SystemBoolean, null\r\n __instance_F: + %UnityEngineTransform, this\r\n __type_1: %SystemType, null\r\n __Type_1: + %SystemType, null\r\n line: %VRCUdonUdonBehaviour, this\r\n isDrawing: + %SystemBoolean, null\r\n startPosition: %UnityEngineVector3, null\r\n minMoveDistance: + %SystemSingle, null\r\n points: %UnityEngineVector3Array, null\r\n lineRenderer: + %UnityEngineLineRenderer, null\r\n penTip: %UnityEngineTransform, this\r\n + currentIndex: %SystemInt32, null\r\n __returnValue: %SystemObject, null\r\n + pointsPerUpdate: %SystemInt32, null\r\n linesContainer: %UnityEngineTransform, + this\r\n nextLineIndex: %SystemInt32, null\r\n pool: %UnityEngineGameObjectArray, + null\r\n linePool: %UnityEngineLineRendererArray, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export _onPickupUseDown\r\n \r\n _onPickupUseDown:\r\n \r\n + PUSH, linePool\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + __instance_0\r\n PUSH, nextLineIndex\r\n PUSH, lineRenderer\r\n + EXTERN, \"UnityEngineLineRendererArray.__Get__SystemInt32__UnityEngineLineRenderer\"\r\n + PUSH, linePool\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + lineRenderer\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, __Type_0\r\n + PUSH, __type_0\r\n COPY\r\n PUSH, lineRenderer\r\n PUSH, + __type_0\r\n PUSH, line\r\n EXTERN, \"UnityEngineLineRenderer.__GetComponent__SystemType__UnityEngineComponent\"\r\n + PUSH, __player_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, linePool\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + lineRenderer\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, lineRenderer\r\n + PUSH, __obj_0\r\n EXTERN, \"UnityEngineLineRenderer.__get_gameObject__UnityEngineGameObject\"\r\n + PUSH, __player_0\r\n PUSH, __obj_0\r\n EXTERN, \"VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid\"\r\n + PUSH, linePool\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + lineRenderer\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, __obj_0\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __obj_0\r\n PUSH, + __value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n + PUSH, nextLineIndex\r\n PUSH, __Int32_4\r\n PUSH, __Int32_1\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, linePool\r\n PUSH, __instance_4\r\n COPY\r\n PUSH, + __instance_4\r\n PUSH, __Int32_2\r\n EXTERN, \"UnityEngineLineRendererArray.__get_Length__SystemInt32\"\r\n + PUSH, __Int32_1\r\n PUSH, __Int32_2\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemInt32.__op_GreaterThanOrEqual__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000001E4\r\n PUSH, __Int32_5\r\n + PUSH, nextLineIndex\r\n COPY\r\n JUMP, 0x0000020C\r\n PUSH, + __Int32_1\r\n PUSH, nextLineIndex\r\n COPY\r\n PUSH, __Int32_1\r\n + PUSH, nextLineIndex\r\n COPY\r\n PUSH, __Boolean_1\r\n PUSH, + isDrawing\r\n COPY\r\n PUSH, lineRenderer\r\n PUSH, __instance_5\r\n + COPY\r\n PUSH, __instance_5\r\n PUSH, __value_1\r\n EXTERN, + \"UnityEngineLineRenderer.__set_positionCount__SystemInt32__SystemVoid\"\r\n + PUSH, penTip\r\n PUSH, __instance_6\r\n COPY\r\n PUSH, __instance_6\r\n + PUSH, startPosition\r\n EXTERN, \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n + PUSH, __Int32_6\r\n PUSH, currentIndex\r\n COPY\r\n PUSH, + __start_0\r\n PUSH, __index_0\r\n COPY\r\n PUSH, __index_0\r\n + PUSH, __end_0\r\n PUSH, __condition_0\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __condition_0\r\n JUMP_IF_FALSE, 0x0000036C\r\n PUSH, lineRenderer\r\n + PUSH, __instance_7\r\n COPY\r\n PUSH, __index_0\r\n PUSH, + __index_1\r\n COPY\r\n PUSH, penTip\r\n PUSH, __instance_8\r\n + COPY\r\n PUSH, __instance_8\r\n PUSH, __position_0\r\n EXTERN, + \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n PUSH, + __instance_7\r\n PUSH, __index_1\r\n PUSH, __position_0\r\n + EXTERN, \"UnityEngineLineRenderer.__SetPosition__SystemInt32_UnityEngineVector3__SystemVoid\"\r\n + PUSH, __index_0\r\n PUSH, __step_0\r\n PUSH, __index_0\r\n + EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + JUMP, 0x000002A0\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onPickupUseUp\r\n + \r\n _onPickupUseUp:\r\n \r\n PUSH, __Boolean_2\r\n PUSH, + isDrawing\r\n COPY\r\n PUSH, line\r\n PUSH, __instance_9\r\n + COPY\r\n PUSH, __instance_9\r\n PUSH, __eventName_0\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _update\r\n \r\n _update:\r\n + \r\n PUSH, isDrawing\r\n JUMP_IF_FALSE, 0x000005F8\r\n PUSH, + penTip\r\n PUSH, __instance_A\r\n COPY\r\n PUSH, __instance_A\r\n + PUSH, __a_0\r\n EXTERN, \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n + PUSH, __a_0\r\n PUSH, startPosition\r\n PUSH, __Single_0\r\n + EXTERN, \"UnityEngineVector3.__Distance__UnityEngineVector3_UnityEngineVector3__SystemSingle\"\r\n + PUSH, __Single_0\r\n PUSH, minMoveDistance\r\n PUSH, __Boolean_4\r\n + EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __Boolean_4\r\n JUMP_IF_FALSE, 0x000005F0\r\n PUSH, lineRenderer\r\n + PUSH, __instance_B\r\n COPY\r\n PUSH, currentIndex\r\n PUSH, + __Int32_8\r\n PUSH, __value_2\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __instance_B\r\n PUSH, __value_2\r\n EXTERN, \"UnityEngineLineRenderer.__set_positionCount__SystemInt32__SystemVoid\"\r\n + PUSH, lineRenderer\r\n PUSH, __instance_C\r\n COPY\r\n PUSH, + penTip\r\n PUSH, __instance_D\r\n COPY\r\n PUSH, __instance_D\r\n + PUSH, __position_1\r\n EXTERN, \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n + PUSH, __instance_C\r\n PUSH, currentIndex\r\n PUSH, __position_1\r\n + EXTERN, \"UnityEngineLineRenderer.__SetPosition__SystemInt32_UnityEngineVector3__SystemVoid\"\r\n + PUSH, penTip\r\n PUSH, __instance_D\r\n COPY\r\n PUSH, __position_1\r\n + PUSH, startPosition\r\n COPY\r\n PUSH, __position_1\r\n + PUSH, startPosition\r\n COPY\r\n PUSH, currentIndex\r\n + PUSH, __Int32_A\r\n PUSH, currentIndex\r\n EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, currentIndex\r\n PUSH, __Int32_D\r\n COPY\r\n PUSH, + currentIndex\r\n PUSH, pointsPerUpdate\r\n PUSH, __Int32_B\r\n + EXTERN, \"SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __Int32_B\r\n PUSH, __Int32_C\r\n PUSH, __Boolean_5\r\n + EXTERN, \"SystemInt32.__op_Equality__SystemInt32_SystemInt32__SystemBoolean\"\r\n + PUSH, __Boolean_5\r\n JUMP_IF_FALSE, 0x000005E8\r\n PUSH, line\r\n + PUSH, __instance_E\r\n COPY\r\n PUSH, __instance_E\r\n PUSH, + __eventName_1\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0x000005E8\r\n JUMP, 0x000005F0\r\n JUMP, 0x000005F8\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onOwnershipRequest\r\n \r\n _onOwnershipRequest:\r\n + \r\n PUSH, __Boolean_6\r\n PUSH, __returnValue\r\n COPY\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n \r\n _start:\r\n + \r\n PUSH, linesContainer\r\n PUSH, __instance_F\r\n COPY\r\n + PUSH, __Type_1\r\n PUSH, __type_1\r\n COPY\r\n PUSH, __instance_F\r\n + PUSH, __type_1\r\n PUSH, linePool\r\n EXTERN, \"UnityEngineTransform.__GetComponentsInChildren__TArray\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_VRCUdonCommonInterfacesIUdonEventReceiver + uid: 90c49407-e946-4848-a4cb-324a9d6e6d5b + 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|line + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_OnPickupUseDown + uid: 9d6a4466-b6ac-4c75-91db-ede7b87739e1 + position: {x: -1270, y: 320} + nodeUIDs: [] + flowUIDs: + - c9ea8b15-2dbe-4704-a4a2-7dd5a8ea0f4f + nodeValues: [] + - fullName: Event_OnPickupUseUp + uid: fabaa888-a676-4d22-861d-5eea1005b451 + position: {x: 3900, y: 660} + nodeUIDs: [] + flowUIDs: + - cbefd54c-a776-4537-84bd-2fd00ca6a9dc + nodeValues: [] + - fullName: Variable_SystemBoolean + uid: c42834e8-6c94-47f6-971c-69c4b2a58eb5 + 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|isDrawing + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: 2c2eeb86-3f63-48c7-984b-b527cd51e5a7 + position: {x: -600, y: 860} + nodeUIDs: + - + - 402a57f3-ca56-4cf1-a898-8e507d4025ba|0 + flowUIDs: + - 64e8ea19-91b2-4349-b227-0de6664562cc + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|c42834e8-6c94-47f6-971c-69c4b2a58eb5 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|isDrawing + - fullName: Set_Variable + uid: 814c1c4f-dcd6-48eb-a92b-f376b4894725 + position: {x: 4380, y: 660} + nodeUIDs: + - + - d4315f45-f6f0-47e9-97dd-19e9f8378c80|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|c42834e8-6c94-47f6-971c-69c4b2a58eb5 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|isDrawing + - fullName: Const_SystemBoolean + uid: 402a57f3-ca56-4cf1-a898-8e507d4025ba + position: {x: -730, y: 1000} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: Const_SystemBoolean + uid: d4315f45-f6f0-47e9-97dd-19e9f8378c80 + position: {x: 4260, y: 700} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Block + uid: c9ea8b15-2dbe-4704-a4a2-7dd5a8ea0f4f + position: {x: -1080, y: 320} + nodeUIDs: [] + flowUIDs: + - 374662ee-1635-4927-a54a-0936159c87f6 + - 2c2eeb86-3f63-48c7-984b-b527cd51e5a7 + - 44b730f7-1b3b-46a6-9019-6c5797d1d65b + nodeValues: [] + - fullName: Block + uid: cbefd54c-a776-4537-84bd-2fd00ca6a9dc + position: {x: 4100, y: 660} + nodeUIDs: [] + flowUIDs: + - 814c1c4f-dcd6-48eb-a92b-f376b4894725 + - 3916a330-8a66-4be2-a50f-21ebb061dc26 + nodeValues: [] + - fullName: Variable_UnityEngineVector3 + uid: d334b1c5-6650-4eed-98ce-15298772eaeb + 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|startPosition + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: 71f506c9-9d10-426a-a537-1134b5c2798d + position: {x: 220, y: 860} + nodeUIDs: + - + - 001c5339-341f-445f-b85e-07ada12cd38c|0 + flowUIDs: + - e02e504d-f799-4357-a61f-3144fe3b4cff + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d334b1c5-6650-4eed-98ce-15298772eaeb + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|startPosition + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: 001c5339-341f-445f-b85e-07ada12cd38c + position: {x: 40, y: 1020} + nodeUIDs: + - 58510e66-76c7-455e-a6ef-f66954ab5ae6|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: f4e68dd1-39bf-4286-aed1-570eb47b8499 + position: {x: 2500, y: -80} + nodeUIDs: + - cb77414f-8af4-4134-bb72-50d8c74d719f|0 + flowUIDs: + - 383c5f13-7535-4e1b-9062-c0777014b9b1 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Variable_SystemSingle + uid: 73c47371-3072-4a6b-bfc4-f07f1dd1eb72 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.1 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|minMoveDistance + - 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_UnityEngineVector3Array + uid: 3062ab8e-fda7-4659-9a7b-e094743a7dff + 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|points + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Variable_UnityEngineLineRenderer + uid: fb115b05-38f7-40c6-bb89-ab0b8344bfa3 + 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|lineRenderer + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: For + uid: 44b730f7-1b3b-46a6-9019-6c5797d1d65b + position: {x: -540, y: 1230} + nodeUIDs: + - + - + - + flowUIDs: + - 5f2ca42a-ad69-4a3c-8cf2-440ceb2c6dd3 + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|2 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Variable_UnityEngineTransform + uid: 966d2d42-1a04-4d8a-9ca0-182968231666 + position: {x: -550, y: -820} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|penTip + - 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: 58510e66-76c7-455e-a6ef-f66954ab5ae6 + position: {x: -130, y: 1020} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|966d2d42-1a04-4d8a-9ca0-182968231666 + - fullName: Get_Variable + uid: a08e5e37-f6cb-43f2-b1df-8cee7513c828 + position: {x: -540, y: 1400} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|966d2d42-1a04-4d8a-9ca0-182968231666 + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: 097251f0-81ce-4666-8f69-1c0ebdaca014 + position: {x: -350, y: 1400} + nodeUIDs: + - a08e5e37-f6cb-43f2-b1df-8cee7513c828|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: aefd5cb7-df7d-44ac-aaa3-7d51485728d4 + position: {x: 1960, y: -0} + nodeUIDs: + - faf1f2fc-3a50-49a6-986a-5feba9b5bbb1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: faf1f2fc-3a50-49a6-986a-5feba9b5bbb1 + position: {x: 1780, y: -0} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|966d2d42-1a04-4d8a-9ca0-182968231666 + - fullName: Variable_SystemInt32 + uid: d58ea5e5-29f5-47a2-aa5e-5494cc377cb8 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, 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|currentIndex + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: e02e504d-f799-4357-a61f-3144fe3b4cff + position: {x: 420, y: 860} + nodeUIDs: + - + - a4a0d88c-3d74-419e-a8e4-222b1bbd6a83|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d58ea5e5-29f5-47a2-aa5e-5494cc377cb8 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|currentIndex + - fullName: Const_SystemInt32 + uid: a4a0d88c-3d74-419e-a8e4-222b1bbd6a83 + position: {x: 300, y: 1020} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 94a99e8e-7b33-4565-9cc6-549a0cb05071 + position: {x: 2860, y: 370} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d58ea5e5-29f5-47a2-aa5e-5494cc377cb8 + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 4007a4de-b197-4181-9635-3552f3a612dd + position: {x: 3020, y: 370} + nodeUIDs: + - 94a99e8e-7b33-4565-9cc6-549a0cb05071|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Set_Variable + uid: c9321d03-f01f-4904-b295-af2f6b02c98d + position: {x: 3160, y: 300} + nodeUIDs: + - + - 4007a4de-b197-4181-9635-3552f3a612dd|0 + flowUIDs: + - fc319770-0470-41db-be85-3576378b311d + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d58ea5e5-29f5-47a2-aa5e-5494cc377cb8 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Block + uid: 383c5f13-7535-4e1b-9062-c0777014b9b1 + position: {x: 2660, y: -90} + nodeUIDs: [] + flowUIDs: + - b522b37e-5d91-4292-86cd-799beacd034b + - b396d914-fae4-4396-84b9-86ffc2f10476 + - c9321d03-f01f-4904-b295-af2f6b02c98d + nodeValues: [] + - fullName: Get_Variable + uid: fbebc2aa-dfd2-402e-a0a3-89fcff30852c + position: {x: 3040, y: -110} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fb115b05-38f7-40c6-bb89-ab0b8344bfa3 + - fullName: UnityEngineLineRenderer.__SetPosition__SystemInt32_UnityEngineVector3__SystemVoid + uid: b396d914-fae4-4396-84b9-86ffc2f10476 + position: {x: 3260, y: -170} + nodeUIDs: + - fbebc2aa-dfd2-402e-a0a3-89fcff30852c|0 + - 7bb3a0f8-06d7-44a8-b374-e57d3ba3a8ee|0 + - e157e428-9b3b-4fe4-af1e-1e8d750f1870|0 + flowUIDs: + - 7ff7b84b-301e-44d5-8453-fb81b878985e + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: Get_Variable + uid: 7bb3a0f8-06d7-44a8-b374-e57d3ba3a8ee + position: {x: 3040, y: -20} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d58ea5e5-29f5-47a2-aa5e-5494cc377cb8 + - fullName: Get_Variable + uid: 64d1ec95-ef22-46d2-86b5-2e55c7edbe08 + position: {x: 2880, y: 80} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|966d2d42-1a04-4d8a-9ca0-182968231666 + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: e157e428-9b3b-4fe4-af1e-1e8d750f1870 + position: {x: 3040, y: 80} + nodeUIDs: + - 64d1ec95-ef22-46d2-86b5-2e55c7edbe08|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 7ff7b84b-301e-44d5-8453-fb81b878985e + position: {x: 3450, y: -60} + nodeUIDs: + - + - e157e428-9b3b-4fe4-af1e-1e8d750f1870|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d334b1c5-6650-4eed-98ce-15298772eaeb + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: c85b5b44-d79d-4a79-9012-18cd6c4a0dd7 + position: {x: 1520, y: -100} + nodeUIDs: + - d3543149-726a-4675-999b-f9273d45bce9|0 + flowUIDs: + - f4e68dd1-39bf-4286-aed1-570eb47b8499 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Get_Variable + uid: d3543149-726a-4675-999b-f9273d45bce9 + position: {x: 1350, y: -20} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|c42834e8-6c94-47f6-971c-69c4b2a58eb5 + - fullName: Get_Variable + uid: 941a57c6-af6a-431b-b29e-238326f40e3f + position: {x: -500, y: 980} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fb115b05-38f7-40c6-bb89-ab0b8344bfa3 + - fullName: UnityEngineLineRenderer.__set_positionCount__SystemInt32__SystemVoid + uid: 64e8ea19-91b2-4349-b227-0de6664562cc + position: {x: -260, y: 860} + nodeUIDs: + - 941a57c6-af6a-431b-b29e-238326f40e3f|0 + - + flowUIDs: + - 71f506c9-9d10-426a-a537-1134b5c2798d + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|2 + - fullName: UnityEngineLineRenderer.__SetPosition__SystemInt32_UnityEngineVector3__SystemVoid + uid: 5f2ca42a-ad69-4a3c-8cf2-440ceb2c6dd3 + position: {x: -70, y: 1230} + nodeUIDs: + - 5c315108-6bd1-4ec9-8dfe-d87d71d57935|0 + - 44b730f7-1b3b-46a6-9019-6c5797d1d65b|0 + - 097251f0-81ce-4666-8f69-1c0ebdaca014|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: Get_Variable + uid: 5c315108-6bd1-4ec9-8dfe-d87d71d57935 + position: {x: -280, y: 1300} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fb115b05-38f7-40c6-bb89-ab0b8344bfa3 + - fullName: Get_Variable + uid: c6d116b0-6b8a-4a74-80ee-c2efd44f7c7f + position: {x: 2920, y: -580} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fb115b05-38f7-40c6-bb89-ab0b8344bfa3 + - fullName: UnityEngineLineRenderer.__set_positionCount__SystemInt32__SystemVoid + uid: b522b37e-5d91-4292-86cd-799beacd034b + position: {x: 3160, y: -540} + nodeUIDs: + - c6d116b0-6b8a-4a74-80ee-c2efd44f7c7f|0 + - 7f1c08bf-e0df-498d-8e31-e9855b3d635d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 73d63473-329a-4106-ae60-ca9046b2063f + position: {x: 2860, y: -490} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d58ea5e5-29f5-47a2-aa5e-5494cc377cb8 + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 7f1c08bf-e0df-498d-8e31-e9855b3d635d + position: {x: 3020, y: -490} + nodeUIDs: + - 73d63473-329a-4106-ae60-ca9046b2063f|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: UnityEngineVector3.__Distance__UnityEngineVector3_UnityEngineVector3__SystemSingle + uid: d6e48acf-1751-484e-bc06-ea0345c1267b + position: {x: 2140, y: -0} + nodeUIDs: + - aefd5cb7-df7d-44ac-aaa3-7d51485728d4|0 + - e3ebd1fc-32d4-43d9-ac4b-c09b42d70c61|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - fullName: Get_Variable + uid: e3ebd1fc-32d4-43d9-ac4b-c09b42d70c61 + position: {x: 1920, y: 80} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|d334b1c5-6650-4eed-98ce-15298772eaeb + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: cb77414f-8af4-4134-bb72-50d8c74d719f + position: {x: 2330, y: 20} + nodeUIDs: + - d6e48acf-1751-484e-bc06-ea0345c1267b|0 + - bdd511a0-aeb0-4346-81b4-fa12a6b21e22|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: bdd511a0-aeb0-4346-81b4-fa12a6b21e22 + position: {x: 2120, y: 120} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|73c47371-3072-4a6b-bfc4-f07f1dd1eb72 + - fullName: Get_Variable + uid: 36754bdc-fc8e-4572-ad01-9e88b88815f6 + position: {x: 4020, y: 900} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|90c49407-e946-4848-a4cb-324a9d6e6d5b + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 3916a330-8a66-4be2-a50f-21ebb061dc26 + position: {x: 4220, y: 880} + nodeUIDs: + - 36754bdc-fc8e-4572-ad01-9e88b88815f6|0 + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnFinish + - fullName: Event_Update + uid: 11564152-5153-43ee-a9d5-9a974e659c07 + position: {x: 1380, y: -140} + nodeUIDs: [] + flowUIDs: + - c85b5b44-d79d-4a79-9012-18cd6c4a0dd7 + nodeValues: [] + - fullName: Variable_SystemObject + uid: 158ef9f2-20cb-44fe-b75d-49543180c9d2 + position: {x: -975, y: -2615} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Variable_SystemInt32 + uid: 2a78c4e4-42f9-442c-9997-35f2dc89ae11 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|10 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|pointsPerUpdate + - 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: Branch + uid: fc319770-0470-41db-be85-3576378b311d + position: {x: 3980, y: 270} + nodeUIDs: + - 99695157-c48f-4ab2-87a8-c44a48224806|0 + flowUIDs: + - 8642380f-a7e6-4b91-887d-abd538782305 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemInt32.__op_Remainder__SystemInt32_SystemInt32__SystemInt32 + uid: e34ccc8d-3da7-4907-9b21-a7b6a552c443 + position: {x: 3610, y: 350} + nodeUIDs: + - 4007a4de-b197-4181-9635-3552f3a612dd|0 + - 483cfb1f-1de7-481d-b5d8-c939bfd41960|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 483cfb1f-1de7-481d-b5d8-c939bfd41960 + position: {x: 3410, y: 450} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|2a78c4e4-42f9-442c-9997-35f2dc89ae11 + - fullName: SystemInt32.__op_Equality__SystemInt32_SystemInt32__SystemBoolean + uid: 99695157-c48f-4ab2-87a8-c44a48224806 + position: {x: 3760, y: 350} + nodeUIDs: + - e34ccc8d-3da7-4907-9b21-a7b6a552c443|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Event_OnOwnershipRequest + uid: a37ddfa5-877d-4713-b145-9fb67c52d4c7 + position: {x: -2250, y: -80} + nodeUIDs: [] + flowUIDs: + - bca754ce-a185-47b5-aad4-b85b5a146ff2 + nodeValues: [] + - fullName: Set_ReturnValue + uid: bca754ce-a185-47b5-aad4-b85b5a146ff2 + position: {x: -1850, y: -80} + nodeUIDs: + - + - a1fea23f-90d7-489c-8da7-af07e4c2606b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|158ef9f2-20cb-44fe-b75d-49543180c9d2 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Const_SystemBoolean + uid: a1fea23f-90d7-489c-8da7-af07e4c2606b + position: {x: -1980, y: 10} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 8642380f-a7e6-4b91-887d-abd538782305 + position: {x: 4240, y: 270} + nodeUIDs: + - 36754bdc-fc8e-4572-ad01-9e88b88815f6|0 + - + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnUpdate + - fullName: Set_Variable + uid: 302750e1-df1c-4206-9fb9-0cf48c955ea0 + position: {x: 300, y: -500} + nodeUIDs: + - + - aa4e3a2a-4c04-42d8-8561-fbb620aafcee|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fb115b05-38f7-40c6-bb89-ab0b8344bfa3 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 77e200f1-991e-4a7d-aaa5-03d630059855 + position: {x: 440, y: -340} + nodeUIDs: + - + - 397d93aa-7405-4700-b4ba-95b2b0486398|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|90c49407-e946-4848-a4cb-324a9d6e6d5b + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Block + uid: 374662ee-1635-4927-a54a-0936159c87f6 + position: {x: -190, y: -200} + nodeUIDs: [] + flowUIDs: + - 302750e1-df1c-4206-9fb9-0cf48c955ea0 + - 77e200f1-991e-4a7d-aaa5-03d630059855 + - fb016313-1875-4d91-8bdc-fa7dd278909e + - a2104296-3f1a-4f76-bf8c-754753afa9b8 + nodeValues: [] + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: fb016313-1875-4d91-8bdc-fa7dd278909e + position: {x: 490, y: -140} + nodeUIDs: + - 21202c7b-28f5-41c0-82b9-3fe7a80e67b5|0 + - 3e4cdd84-55e8-4570-a4a7-0be9e5e58b58|0 + flowUIDs: + - 2e1c12e9-4274-4810-acfc-ae107494e2d1 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 21202c7b-28f5-41c0-82b9-3fe7a80e67b5 + position: {x: 300, y: -140} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Variable_UnityEngineTransform + uid: b2b6f3fc-a9de-45e7-8ad7-4b4ebb29d81b + 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|linesContainer + - 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_SystemInt32 + uid: f665a479-cfa0-4904-bdfd-4409aab39fbd + position: {x: -480, y: -380} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|nextLineIndex + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Get_Variable + uid: cc710eaa-8de9-4f2e-b9f6-1c52c6f49357 + position: {x: -530, y: -330} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f665a479-cfa0-4904-bdfd-4409aab39fbd + - fullName: Get_Variable + uid: ff1206c1-7863-41d4-8990-c5df8c29ed22 + position: {x: -340, y: 240} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f665a479-cfa0-4904-bdfd-4409aab39fbd + - fullName: Branch + uid: a2104296-3f1a-4f76-bf8c-754753afa9b8 + position: {x: 200, y: 240} + nodeUIDs: + - a9035671-fba8-4f59-834f-73f84ccb0273|0 + flowUIDs: + - 1bfeee34-3e3c-4fee-be25-0993da532092 + - 38f18c25-3a22-4216-9106-58710f0536d3 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32 + uid: 34926c12-31d3-4ddc-bbe8-bb44bacc0085 + position: {x: -180, y: 240} + nodeUIDs: + - ff1206c1-7863-41d4-8990-c5df8c29ed22|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: SystemInt32.__op_GreaterThanOrEqual__SystemInt32_SystemInt32__SystemBoolean + uid: a9035671-fba8-4f59-834f-73f84ccb0273 + position: {x: -30, y: 320} + nodeUIDs: + - 34926c12-31d3-4ddc-bbe8-bb44bacc0085|0 + - db6ee54c-6fdf-491c-ad74-08439159b089|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Set_Variable + uid: 1bfeee34-3e3c-4fee-be25-0993da532092 + position: {x: 420, y: 240} + nodeUIDs: + - + - 184beac9-cc8e-4518-ae7e-46ee360b418d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f665a479-cfa0-4904-bdfd-4409aab39fbd + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Const_SystemInt32 + uid: 184beac9-cc8e-4518-ae7e-46ee360b418d + position: {x: 280, y: 360} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Set_Variable + uid: 38f18c25-3a22-4216-9106-58710f0536d3 + position: {x: 420, y: 440} + nodeUIDs: + - + - 34926c12-31d3-4ddc-bbe8-bb44bacc0085|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f665a479-cfa0-4904-bdfd-4409aab39fbd + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: 2e1c12e9-4274-4810-acfc-ae107494e2d1 + position: {x: 640, y: -60} + nodeUIDs: + - 3e4cdd84-55e8-4570-a4a7-0be9e5e58b58|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: UnityEngineGameObjectArray.__get_Length__SystemInt32 + uid: 1dcea96a-2c95-42bd-9d63-29b7793770a6 + position: {x: -240, y: 600} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineGameObjectArray + uid: 3e97cf92-c259-49b1-b9bf-feb14b6bf020 + 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|pool + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_Start + uid: 57f5b62b-6d5f-414d-8a33-b1ea5588d656 + position: {x: -1940, y: -480} + nodeUIDs: [] + flowUIDs: + - 86feeef8-ff8f-49b9-bbe6-84532dc6c822 + nodeValues: [] + - fullName: Get_Variable + uid: a2609b05-d911-4819-84a3-84405fc9b434 + position: {x: -2310, y: -380} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|b2b6f3fc-a9de-45e7-8ad7-4b4ebb29d81b + - fullName: UnityEngineTransform.__GetComponentsInChildren__TArray + uid: f1492eba-553d-4dc3-8181-73d47a6cbc57 + position: {x: -2090, y: -360} + nodeUIDs: + - a2609b05-d911-4819-84a3-84405fc9b434|0 + - 5abc62ce-1bac-408f-ac66-16aa90c38e30|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Type_UnityEngineLineRenderer + uid: 5abc62ce-1bac-408f-ac66-16aa90c38e30 + position: {x: -2310, y: -280} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Variable_UnityEngineLineRendererArray + uid: 6f8956a9-34d3-41ca-b1fc-f4bc56f41a0a + 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|linePool + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: 86feeef8-ff8f-49b9-bbe6-84532dc6c822 + position: {x: -1820, y: -420} + nodeUIDs: + - + - f1492eba-553d-4dc3-8181-73d47a6cbc57|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6f8956a9-34d3-41ca-b1fc-f4bc56f41a0a + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linePool + - fullName: Get_Variable + uid: fe353edb-ced7-4b08-9383-08cb72311f8d + position: {x: -480, y: -490} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6f8956a9-34d3-41ca-b1fc-f4bc56f41a0a + - fullName: UnityEngineLineRendererArray.__Get__SystemInt32__UnityEngineLineRenderer + uid: aa4e3a2a-4c04-42d8-8561-fbb620aafcee + position: {x: -270, y: -480} + nodeUIDs: + - fe353edb-ced7-4b08-9383-08cb72311f8d|0 + - cc710eaa-8de9-4f2e-b9f6-1c52c6f49357|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: UnityEngineLineRenderer.__get_gameObject__UnityEngineGameObject + uid: 3e4cdd84-55e8-4570-a4a7-0be9e5e58b58 + position: {x: 20, y: -60} + nodeUIDs: + - aa4e3a2a-4c04-42d8-8561-fbb620aafcee|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 893579b7-5066-4dd5-80ed-c476fa6cc4e6 + position: {x: -340, y: 460} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6f8956a9-34d3-41ca-b1fc-f4bc56f41a0a + - fullName: UnityEngineLineRendererArray.__get_Length__SystemInt32 + uid: db6ee54c-6fdf-491c-ad74-08439159b089 + position: {x: -210, y: 470} + nodeUIDs: + - 893579b7-5066-4dd5-80ed-c476fa6cc4e6|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineLineRenderer.__GetComponent__SystemType__UnityEngineComponent + uid: 397d93aa-7405-4700-b4ba-95b2b0486398 + position: {x: 260, y: -300} + nodeUIDs: + - aa4e3a2a-4c04-42d8-8561-fbb620aafcee|0 + - 33b9c2ee-cdd8-43f6-b31c-e7ee74c865ad|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Type_VRCUdonCommonInterfacesIUdonEventReceiver + uid: 33b9c2ee-cdd8-43f6-b31c-e7ee74c865ad + position: {x: 40, y: -250} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + updateOrder: 0 + graphElementData: + - type: 2 + uid: 6c729537-66d2-4f86-ae63-9eecfb1a43a9 + jsonData: '{"uid":"6c729537-66d2-4f86-ae63-9eecfb1a43a9","layout":{"serializedVersion":"2","x":-755.0,"y":795.0,"width":1363.0,"height":337.0},"containedElements":["2c2eeb86-3f63-48c7-984b-b527cd51e5a7","71f506c9-9d10-426a-a537-1134b5c2798d","001c5339-341f-445f-b85e-07ada12cd38c","402a57f3-ca56-4cf1-a898-8e507d4025ba","58510e66-76c7-455e-a6ef-f66954ab5ae6","91449ea1-c315-45dc-acb2-f28ce3088534","2aa20ada-5f75-4b5c-b048-11f3015c0432","e02e504d-f799-4357-a61f-3144fe3b4cff","a4a0d88c-3d74-419e-a8e4-222b1bbd6a83","89f30d95-d193-47a2-ad4e-c2af68f92199","18f9a38d-470d-4b4a-8c98-76195971638f","64e8ea19-91b2-4349-b227-0de6664562cc","941a57c6-af6a-431b-b29e-238326f40e3f","451746a1-2c96-42fd-8360-ecc7f844da9c"],"title":"Reset + Variables","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 742b3ce9-6363-40e2-a77f-89b2a270cef7 + jsonData: '{"uid":"742b3ce9-6363-40e2-a77f-89b2a270cef7","layout":{"serializedVersion":"2","x":1755.0,"y":-155.0,"width":1021.0,"height":388.0},"containedElements":["f4e68dd1-39bf-4286-aed1-570eb47b8499","4d58d603-ec42-4c03-8c2d-b6db25f6ef24","32616483-9627-4411-b447-a4dc1dc07f69","ebd83cfd-5d4f-494a-b141-d1f7e331274d","21bbce48-d956-4ffe-9166-0a54c2d739d6","4a145a68-37e2-4cd8-8f36-9c987936c940","672b839b-1f7e-493b-b629-ea4f731832d4","d174ff0c-5f68-4243-b768-4678b2b27a94","3a1c8d3f-0d58-459c-9460-5e8dce9d07c3","faf1f2fc-3a50-49a6-986a-5feba9b5bbb1","aefd5cb7-df7d-44ac-aaa3-7d51485728d4","383c5f13-7535-4e1b-9062-c0777014b9b1","e3ebd1fc-32d4-43d9-ac4b-c09b42d70c61","cb77414f-8af4-4134-bb72-50d8c74d719f","bdd511a0-aeb0-4346-81b4-fa12a6b21e22","5db9ae85-5296-4027-bea8-92498602d3c2","75b182fb-0eb0-4f2a-8e02-ee3dcf827743","02370c20-e75b-4a30-ab3c-8a55ad6c95c6","ae11f816-d3cf-4fce-986c-2d62161ff889","f7a76ed6-6d98-4a0b-944c-2173d872279f","22d347ff-7fcd-4786-96b7-b087c687d8d3","d6e48acf-1751-484e-bc06-ea0345c1267b","a2d76320-7595-40ff-b2bd-0e8bbdd9530c"],"title":"Has + the pen moved enough?","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 2f08251e-16fc-4399-b9c7-e3e10428b207 + jsonData: '{"uid":"2f08251e-16fc-4399-b9c7-e3e10428b207","layout":{"serializedVersion":"2","x":2830.0,"y":230.0,"width":502.0,"height":272.0},"containedElements":["c9321d03-f01f-4904-b295-af2f6b02c98d","4007a4de-b197-4181-9635-3552f3a612dd","94a99e8e-7b33-4565-9cc6-549a0cb05071"],"title":"Increment + currentIndex","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 325ed681-3a4b-4fa9-864d-30a4489a1b47 + jsonData: '{"uid":"325ed681-3a4b-4fa9-864d-30a4489a1b47","layout":{"serializedVersion":"2","x":-565.0,"y":1165.0,"width":692.0,"height":347.0},"containedElements":["5c315108-6bd1-4ec9-8dfe-d87d71d57935","44b730f7-1b3b-46a6-9019-6c5797d1d65b","a08e5e37-f6cb-43f2-b1df-8cee7513c828","097251f0-81ce-4666-8f69-1c0ebdaca014","5f2ca42a-ad69-4a3c-8cf2-440ceb2c6dd3"],"title":"Initialize + Line with 2 Points at Pen Tip","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 8a249bae-0e0e-499a-8651-dfedaee1fca7 + jsonData: '{"uid":"8a249bae-0e0e-499a-8651-dfedaee1fca7","layout":{"serializedVersion":"2","x":2830.0,"y":-650.0,"width":535.0,"height":292.0},"containedElements":["b522b37e-5d91-4292-86cd-799beacd034b","7f1c08bf-e0df-498d-8e31-e9855b3d635d","73d63473-329a-4106-ae60-ca9046b2063f","c6d116b0-6b8a-4a74-80ee-c2efd44f7c7f"],"title":"Increase + Points in Line","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 6c0c8ec4-608b-4ef7-b92d-651bc7cfcb55 + jsonData: '{"uid":"6c0c8ec4-608b-4ef7-b92d-651bc7cfcb55","layout":{"serializedVersion":"2","x":2855.0,"y":-235.0,"width":776.0,"height":428.0},"containedElements":["7ff7b84b-301e-44d5-8453-fb81b878985e","e157e428-9b3b-4fe4-af1e-1e8d750f1870","64d1ec95-ef22-46d2-86b5-2e55c7edbe08","7bb3a0f8-06d7-44a8-b374-e57d3ba3a8ee","b396d914-fae4-4396-84b9-86ffc2f10476","fbebc2aa-dfd2-402e-a0a3-89fcff30852c"],"title":"Add + Point to Line","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: d02c29c5-3010-4811-be26-bcb1a2ed8f05 + jsonData: '{"uid":"d02c29c5-3010-4811-be26-bcb1a2ed8f05","layout":{"serializedVersion":"2","x":1325.0,"y":-205.0,"width":368.0,"height":288.0},"containedElements":["d3543149-726a-4675-999b-f9273d45bce9","c85b5b44-d79d-4a79-9012-18cd6c4a0dd7","8cf6c41d-4f2f-44e7-8494-6f80555976c6","bc553124-7b6c-4eff-ba20-4bb9d3c71621","11564152-5153-43ee-a9d5-9a974e659c07"],"title":"Are + we drawing?","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 4a3206e3-a6c9-4d37-af6c-a6dea623d992 + jsonData: '{"uid":"4a3206e3-a6c9-4d37-af6c-a6dea623d992","layout":{"serializedVersion":"2","x":3875.0,"y":590.0,"width":677.0,"height":441.0},"containedElements":["cbefd54c-a776-4537-84bd-2fd00ca6a9dc","d4315f45-f6f0-47e9-97dd-19e9f8378c80","814c1c4f-dcd6-48eb-a92b-f376b4894725","fabaa888-a676-4d22-861d-5eea1005b451","3916a330-8a66-4be2-a50f-21ebb061dc26","36754bdc-fc8e-4572-ad01-9e88b88815f6"],"title":"FinishDrawing","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: cb33691f-9931-4a8f-aaa9-e19b850b1286 + jsonData: '{"uid":"cb33691f-9931-4a8f-aaa9-e19b850b1286","layout":{"serializedVersion":"2","x":-2275.0,"y":-145.0,"width":597.0,"height":263.0},"containedElements":["bca754ce-a185-47b5-aad4-b85b5a146ff2","a37ddfa5-877d-4713-b145-9fb67c52d4c7","a1fea23f-90d7-489c-8da7-af07e4c2606b"],"title":"Allow + Ownership Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 3af35fb2-d8f5-47ec-82be-b19b497f402d + jsonData: '{"uid":"3af35fb2-d8f5-47ec-82be-b19b497f402d","layout":{"serializedVersion":"2","x":-555.0,"y":-560.0,"width":1359.0,"height":705.0},"containedElements":["302750e1-df1c-4206-9fb9-0cf48c955ea0","77e200f1-991e-4a7d-aaa5-03d630059855","374662ee-1635-4927-a54a-0936159c87f6","aa2cded1-7978-4314-926c-bdd2d58c3a2d","babcf64e-fe11-4282-8042-500c5eb36fb0","c135fda4-4f6e-4d0e-b50a-80843e9830de","de302d70-0323-4e5a-827f-df6bd9e45bb0","c94d652c-f550-45ab-b938-4380733879f8","83778e33-2f40-48e6-814c-bedf1554b090","3b22d27b-c425-471e-95ed-18311a2b734c","b5882d47-746c-4230-938d-816d38602975","ea92d52f-544b-4319-8df9-5e5c944027cb","ad213b3b-4415-47dc-a327-e80c54b20065","8b938f39-5e61-4251-99e8-659d0abcc303","21202c7b-28f5-41c0-82b9-3fe7a80e67b5","fb016313-1875-4d91-8bdc-fa7dd278909e","cc710eaa-8de9-4f2e-b9f6-1c52c6f49357","b493ee27-f8a4-4b1e-bf50-34a80fb8b59b","5b7ba529-e85b-4112-b61c-31c23df6065d","2e1c12e9-4274-4810-acfc-ae107494e2d1","32c40085-35e2-4a17-89d9-013e6d981ce3","7f64ec66-c8fe-429f-ab07-bd4fff055cbf","335b3a0f-0074-4556-9f65-805fca4b23dd","21002943-51e3-4dda-9f49-7b3a50d6a941","aa4e3a2a-4c04-42d8-8561-fbb620aafcee","fe353edb-ced7-4b08-9383-08cb72311f8d","3e4cdd84-55e8-4570-a4a7-0be9e5e58b58","33b9c2ee-cdd8-43f6-b31c-e7ee74c865ad","397d93aa-7405-4700-b4ba-95b2b0486398"],"title":"Get + new Line from Pool","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: b346390a-8b64-4a7f-b128-fa06385d7443 + jsonData: '{"uid":"b346390a-8b64-4a7f-b128-fa06385d7443","layout":{"serializedVersion":"2","x":-370.0,"y":170.0,"width":982.0,"height":532.0},"containedElements":["38f18c25-3a22-4216-9106-58710f0536d3","184beac9-cc8e-4518-ae7e-46ee360b418d","1bfeee34-3e3c-4fee-be25-0993da532092","a9035671-fba8-4f59-834f-73f84ccb0273","34926c12-31d3-4ddc-bbe8-bb44bacc0085","a2104296-3f1a-4f76-bf8c-754753afa9b8","ff1206c1-7863-41d4-8990-c5df8c29ed22","1dcea96a-2c95-42bd-9d63-29b7793770a6","d425b229-468f-4cd0-8730-0dbb87ee5cb4","6da41ad9-2128-4d2d-bc55-2ad5a11e666c","893579b7-5066-4dd5-80ed-c476fa6cc4e6","db6ee54c-6fdf-491c-ad74-08439159b089"],"title":"Increment + nextLineIndex","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 073c713d-3fce-4d61-be07-a3fc59cf89b8 + jsonData: '{"uid":"073c713d-3fce-4d61-be07-a3fc59cf89b8","layout":{"serializedVersion":"2","x":-2335.0,"y":-545.0,"width":736.0,"height":378.0},"containedElements":["f1492eba-553d-4dc3-8181-73d47a6cbc57","a2609b05-d911-4819-84a3-84405fc9b434","57f5b62b-6d5f-414d-8a33-b1ea5588d656","5abc62ce-1bac-408f-ac66-16aa90c38e30","86feeef8-ff8f-49b9-bbe6-84532dc6c822"],"title":"Fill + Pool from Gameobjects on Start","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 2b5d4857-5f76-4864-95b9-e60ed3832bbe + jsonData: '{"uid":"2b5d4857-5f76-4864-95b9-e60ed3832bbe","layout":{"serializedVersion":"2","x":3385.0,"y":205.0,"width":1152.0,"height":353.0},"containedElements":["8642380f-a7e6-4b91-887d-abd538782305","99695157-c48f-4ab2-87a8-c44a48224806","483cfb1f-1de7-481d-b5d8-c939bfd41960","e34ccc8d-3da7-4907-9b21-a7b6a552c443","fc319770-0470-41db-be85-3576378b311d"],"title":"Group + Point Updates to reduce Network Traffic","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: c5fbc6f1-b777-40b4-acf4-f0fb74ca4f14 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":273.0,"height":544.0}}' + - type: 4 + uid: 2c6f8b54-7ea8-492c-abb7-97607b64793d + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 672.83856, y: 229.03407} + scale: 0.49717674 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimplePen.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimplePen.asset.meta new file mode 100644 index 00000000..5f4cbdc1 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SimplePen.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2de31a7dfc5718c47aa82772c351b8a3 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SliderSync.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SliderSync.asset new file mode 100644 index 00000000..aa76135a --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SliderSync.asset @@ -0,0 +1,344 @@ +%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: SliderSync + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 05a70668ce47075408d0ce2091043e7a, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiSlider\r\n .export uiText\r\n + .sync sliderValue, none\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n + __Single_0: %SystemSingle, null\r\n __Single_1: %SystemSingle, null\r\n + __player_0: %VRCSDKBaseVRCPlayerApi, null\r\n __obj_0: %UnityEngineGameObject, + this\r\n __instance_1: %VRCUdonUdonBehaviour, this\r\n __symbolName_0: + %SystemString, null\r\n __value_0: %SystemObject, null\r\n __instance_0: + %UnityEngineUISlider, null\r\n __instance_2: %VRCUdonUdonBehaviour, this\r\n + __instance_3: %UnityEngineUIText, null\r\n __value_1: %SystemString, null\r\n + __instance_4: %SystemSingle, null\r\n __instance_5: %UnityEngineUISlider, + null\r\n __value_2: %SystemSingle, null\r\n __name_0: %SystemString, null\r\n + sliderValue: %SystemSingle, null\r\n uiSlider: %UnityEngineUISlider, null\r\n + uiText: %UnityEngineUIText, null\r\n __returnValue: %SystemObject, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export OnValueChanged\r\n \r\n OnValueChanged:\r\n \r\n PUSH, + uiSlider\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n + PUSH, __Single_0\r\n EXTERN, \"UnityEngineUISlider.__get_value__SystemSingle\"\r\n + PUSH, __Single_0\r\n PUSH, sliderValue\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemSingle.__op_Inequality__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000E4\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, uiSlider\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + __Single_0\r\n PUSH, __value_0\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __symbolName_0\r\n PUSH, __Single_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0x000000E4\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_sliderValue\r\n + \r\n _onVarChange_sliderValue:\r\n \r\n PUSH, uiText\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, sliderValue\r\n PUSH, + __value_1\r\n EXTERN, \"SystemSingle.__ToString__SystemString\"\r\n + PUSH, __instance_3\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n + PUSH, uiSlider\r\n PUSH, __instance_5\r\n COPY\r\n PUSH, + __instance_5\r\n PUSH, sliderValue\r\n EXTERN, \"UnityEngineUISlider.__set_value__SystemSingle__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_SystemSingle + uid: 681f688f-6b05-479f-b350-84415532656d + position: {x: 60, y: -684} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|sliderValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Variable_UnityEngineUISlider + uid: 181b218a-898a-4725-bee3-34d8a7893ce6 + position: {x: 280, y: -562} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiSlider + - 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: 01a5da6d-ed90-444e-b8e3-9a7afdab6522 + position: {x: 380, y: 180} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|181b218a-898a-4725-bee3-34d8a7893ce6 + - fullName: UnityEngineUISlider.__get_value__SystemSingle + uid: da176d15-c265-46bf-87a8-8a508f1d5f6e + position: {x: -150, y: -340} + nodeUIDs: + - 0dcc3560-73e5-453f-9f2c-17b429083a2e|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: aebbea54-c452-4521-954a-00bb267dfeca + position: {x: 560, y: -390} + nodeUIDs: + - + - da176d15-c265-46bf-87a8-8a508f1d5f6e|0 + - + flowUIDs: + - dfa92252-2496-4eef-b156-385bee9ace37 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: UnityEngineUISlider.__set_value__SystemSingle__SystemVoid + uid: 8c875359-d6c7-4bb0-83bd-01ffe4cf267c + position: {x: 560, y: -10} + nodeUIDs: + - 01a5da6d-ed90-444e-b8e3-9a7afdab6522|0 + - 2ee6a71e-7892-4d2c-a868-d1fc992e3210|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Variable_UnityEngineUIText + uid: bf75ad30-48c8-456e-a7f7-ae92672059c1 + position: {x: 60, y: -504} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 38dce4b4-e64b-4eec-a652-c7f00d78eec7 + position: {x: 320, y: -10} + nodeUIDs: + - 57b26821-6967-42a4-89f1-9ae388669d60|0 + - 7c882298-e2ba-4d00-84d4-ef5560f3241a|0 + flowUIDs: + - 8c875359-d6c7-4bb0-83bd-01ffe4cf267c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 57b26821-6967-42a4-89f1-9ae388669d60 + position: {x: 120, y: 60} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|bf75ad30-48c8-456e-a7f7-ae92672059c1 + - fullName: SystemSingle.__ToString__SystemString + uid: 7c882298-e2ba-4d00-84d4-ef5560f3241a + position: {x: 80, y: 150} + nodeUIDs: + - 2ee6a71e-7892-4d2c-a868-d1fc992e3210|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Event_Custom + uid: 0348b9cd-402a-43cd-b830-6edf5369ee14 + position: {x: -40, y: -460} + nodeUIDs: + - + flowUIDs: + - 066054b5-b9fc-4a58-9ebd-081b21b4aded + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: 837f4cb7-7911-4637-8f5d-f4e9b0cc2006 + position: {x: 430, y: -390} + nodeUIDs: + - e011db3a-e941-4638-95ed-1db764289ec3|0 + - + flowUIDs: + - aebbea54-c452-4521-954a-00bb267dfeca + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: e011db3a-e941-4638-95ed-1db764289ec3 + position: {x: 260, y: -260} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: dfa92252-2496-4eef-b156-385bee9ace37 + position: {x: 730, y: -390} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemObject + uid: ceecf9a0-6fab-4704-87b2-b5fb4217464a + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_OnVariableChange + uid: 2ee6a71e-7892-4d2c-a868-d1fc992e3210 + position: {x: -240, y: -10} + nodeUIDs: + - + flowUIDs: + - 38dce4b4-e64b-4eec-a652-c7f00d78eec7 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 0dcc3560-73e5-453f-9f2c-17b429083a2e + position: {x: -310, y: -340} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|181b218a-898a-4725-bee3-34d8a7893ce6 + - fullName: SystemSingle.__op_Inequality__SystemSingle_SystemSingle__SystemBoolean + uid: 13e2ac21-b327-4cce-a645-ec0db208e723 + position: {x: 30, y: -260} + nodeUIDs: + - da176d15-c265-46bf-87a8-8a508f1d5f6e|0 + - f1962a04-ab03-44bf-bf14-29bd0699fd93|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: f1962a04-ab03-44bf-bf14-29bd0699fd93 + position: {x: -150, y: -210} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: 066054b5-b9fc-4a58-9ebd-081b21b4aded + position: {x: 180, y: -390} + nodeUIDs: + - 13e2ac21-b327-4cce-a645-ec0db208e723|0 + flowUIDs: + - 837f4cb7-7911-4637-8f5d-f4e9b0cc2006 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + updateOrder: 0 + graphElementData: + - type: 2 + uid: 6a0871a6-97af-462f-868e-423ad3ffbeaa + jsonData: '{"uid":"6a0871a6-97af-462f-868e-423ad3ffbeaa","layout":{"serializedVersion":"2","x":-440.0,"y":-530.0,"width":1384.0,"height":432.0},"containedElements":["4ae03fa2-a4e2-48b6-a2e9-950568f9c506","aebbea54-c452-4521-954a-00bb267dfeca","df9b1434-6157-4120-8f85-5d9646029b5d","da176d15-c265-46bf-87a8-8a508f1d5f6e","0348b9cd-402a-43cd-b830-6edf5369ee14","43337f82-869f-4ff7-a7c8-e25e17b441a1","837f4cb7-7911-4637-8f5d-f4e9b0cc2006","e011db3a-e941-4638-95ed-1db764289ec3","dfa92252-2496-4eef-b156-385bee9ace37","0dcc3560-73e5-453f-9f2c-17b429083a2e","13e2ac21-b327-4cce-a645-ec0db208e723","f1962a04-ab03-44bf-bf14-29bd0699fd93","066054b5-b9fc-4a58-9ebd-081b21b4aded","03da57fa-118d-4b11-8d1c-a7b34343af3a"],"title":"When + UI is changed, check that it''s different than the variable, then become owner + and update it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: d92e16d2-3692-45d2-b422-93cec59fe872 + jsonData: '{"uid":"d92e16d2-3692-45d2-b422-93cec59fe872","layout":{"serializedVersion":"2","x":-280.0,"y":-70.0,"width":993.0,"height":362.0},"containedElements":["8decd684-56d0-4a80-8757-9d1b74867cac","7c882298-e2ba-4d00-84d4-ef5560f3241a","38dce4b4-e64b-4eec-a652-c7f00d78eec7","e6e4b6ac-32c3-4664-b326-247fd6d68cfb","8c875359-d6c7-4bb0-83bd-01ffe4cf267c","01ff7ac5-acdd-4207-a8e8-d4953ab13349","2ee6a71e-7892-4d2c-a868-d1fc992e3210","01a5da6d-ed90-444e-b8e3-9a7afdab6522","57b26821-6967-42a4-89f1-9ae388669d60","c7256455-804d-46ba-8cae-f815ae765cc8","2fb29dc0-6bd5-4932-b385-faee5e290008"],"title":"Update + Text and Slider Value whenever slider is moved","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 03da57fa-118d-4b11-8d1c-a7b34343af3a + jsonData: '{"uid":"03da57fa-118d-4b11-8d1c-a7b34343af3a","layout":{"serializedVersion":"2","x":-420.0,"y":-470.0,"width":350.6292419433594,"height":90.59757995605469},"title":"This + event can have any name we want as long as we make it the same on the UI item + that triggers it.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: c386a6db-9e4c-4a8c-9ad8-9777e0978956 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 701.6493, y: 806.1245} + scale: 1 + version: 1.0.0 + showAssembly: 1 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SliderSync.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SliderSync.asset.meta new file mode 100644 index 00000000..0d357635 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SliderSync.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8803f6df285e2fd48bbd0aeeb81ed533 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncPickupColor.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncPickupColor.asset new file mode 100644 index 00000000..d1048ee8 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncPickupColor.asset @@ -0,0 +1,434 @@ +%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: SyncPickupColor + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 7b3de3825ae5235458913dc761b6e616, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export fromColor\r\n .export targetRenderer\r\n + .export toColor\r\n .export pickup\r\n .sync syncColor, smooth\r\n \r\n + __Boolean_0: %SystemBoolean, null\r\n __Boolean_1: %SystemBoolean, null\r\n + __Boolean_2: %SystemBoolean, null\r\n __obj_0: %UnityEngineGameObject, this\r\n + __instance_0: %VRCSDK3ComponentsVRCPickup, null\r\n __instance_1: %VRCSDK3ComponentsVRCPickup, + null\r\n __a_0: %UnityEngineColor, null\r\n __b_0: %UnityEngineColor, null\r\n + __t_0: %SystemSingle, null\r\n __f_0: %SystemSingle, null\r\n __instance_2: + %UnityEngineMaterial, null\r\n __name_0: %SystemString, null\r\n __value_0: + %UnityEngineColor, null\r\n __instance_3: %UnityEngineRenderer, null\r\n + __message_0: %SystemObject, null\r\n __format_0: %SystemString, null\r\n + __arg0_0: %SystemObject, null\r\n onOwnershipTransferredPlayer: %VRCSDKBaseVRCPlayerApi, + null\r\n fromColor: %UnityEngineColor, null\r\n targetRenderer: %UnityEngineRenderer, + null\r\n toColor: %UnityEngineColor, null\r\n syncColor: %UnityEngineColor, + null\r\n pickup: %VRCSDK3ComponentsVRCPickup, null\r\n __returnValue: %SystemObject, + 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, pickup\r\n PUSH, __instance_0\r\n + COPY\r\n PUSH, __instance_0\r\n PUSH, __obj_0\r\n EXTERN, + \"VRCSDK3ComponentsVRCPickup.__get_gameObject__UnityEngineGameObject\"\r\n + PUSH, __obj_0\r\n PUSH, __Boolean_1\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, pickup\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __Boolean_2\r\n EXTERN, \"VRCSDK3ComponentsVRCPickup.__get_IsHeld__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n PUSH, __Boolean_2\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000F8\r\n PUSH, __f_0\r\n + EXTERN, \"UnityEngineTime.__get_time__SystemSingle\"\r\n PUSH, __f_0\r\n + PUSH, __t_0\r\n EXTERN, \"UnityEngineMathf.__Sin__SystemSingle__SystemSingle\"\r\n + PUSH, fromColor\r\n PUSH, toColor\r\n PUSH, __t_0\r\n PUSH, + syncColor\r\n EXTERN, \"UnityEngineColor.__LerpUnclamped__UnityEngineColor_UnityEngineColor_SystemSingle__UnityEngineColor\"\r\n + JUMP, 0x000000F8\r\n PUSH, targetRenderer\r\n PUSH, __instance_3\r\n + COPY\r\n PUSH, __instance_3\r\n PUSH, __instance_2\r\n EXTERN, + \"UnityEngineRenderer.__get_material__UnityEngineMaterial\"\r\n PUSH, + __instance_2\r\n PUSH, __name_0\r\n PUSH, syncColor\r\n + EXTERN, \"UnityEngineMaterial.__SetColor__SystemString_UnityEngineColor__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onOwnershipTransferred\r\n \r\n + _onOwnershipTransferred:\r\n \r\n PUSH, onOwnershipTransferredPlayer\r\n + PUSH, __arg0_0\r\n COPY\r\n PUSH, __format_0\r\n PUSH, __arg0_0\r\n + PUSH, __message_0\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __message_0\r\n EXTERN, \"UnityEngineDebug.__Log__SystemObject__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_UnityEngineColor + uid: e250e86a-8cfa-4584-a585-3f34a8229559 + position: {x: -1248, y: -624} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fromColor + - 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_UnityEngineRenderer + uid: 33b539d4-e63c-4414-9499-e1b955daac0b + position: {x: -672, y: -624} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|targetRenderer + - 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: UnityEngineRenderer.__get_material__UnityEngineMaterial + uid: aaf7110a-48c4-45e3-81f0-d3ec775a3411 + position: {x: 450, y: -585} + nodeUIDs: + - 63e5cde2-b287-4914-92c8-70a07d8fa0d0|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 63e5cde2-b287-4914-92c8-70a07d8fa0d0 + position: {x: 240, y: -585} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|33b539d4-e63c-4414-9499-e1b955daac0b + - fullName: UnityEngineMaterial.__SetColor__SystemString_UnityEngineColor__SystemVoid + uid: 4af59101-ed93-4311-b31c-dcadd9b3230b + position: {x: 720, y: -575} + nodeUIDs: + - aaf7110a-48c4-45e3-81f0-d3ec775a3411|0 + - + - bd8931dc-3bd3-40e9-a26e-6cf436b982e6|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|_Color + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: bd8931dc-3bd3-40e9-a26e-6cf436b982e6 + position: {x: 540, y: -445} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|65de1c25-d232-4346-b7c7-c3d0e72f0104 + - fullName: Event_Update + uid: ba239461-c9e9-489b-8ceb-66e5c86fee61 + position: {x: -530, y: -570} + nodeUIDs: [] + flowUIDs: + - 25427eac-ecd5-499e-ae13-77a54a55ef50 + nodeValues: [] + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: 7943e2ef-fbc4-4dbd-809a-0743cc54d934 + position: {x: -1040, y: -380} + nodeUIDs: + - 61a32afe-0bff-4f8a-85e2-7ad6a1bb6e24|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: 23418b5f-1b21-478d-9481-e0eb7ec39442 + position: {x: -240, y: -370} + nodeUIDs: + - f5d70bca-4430-4c0a-ad4d-8a1ce36a4881|0 + flowUIDs: + - 0be3d160-69f6-42ae-8fda-24ce52ffa288 + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__LerpUnclamped__UnityEngineColor_UnityEngineColor_SystemSingle__UnityEngineColor + uid: 0701e267-39fc-475f-9be4-7bd0bb4f139d + position: {x: -350, y: -0} + nodeUIDs: + - 9c55e86b-602f-4a57-a3e0-a911a507717e|0 + - bbf728e5-3ecf-4c1d-aa6b-d92283368124|0 + - db5ebdae-e505-4cca-93d3-d134b1844c41|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineColor + uid: ad1686e1-53e2-41bb-8b2c-3a6723005bfc + position: {x: -1056, y: -624} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|toColor + - 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_UnityEngineColor + uid: 65de1c25-d232-4346-b7c7-c3d0e72f0104 + position: {x: -864, y: -624} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|syncColor + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: Get_Variable + uid: 9c55e86b-602f-4a57-a3e0-a911a507717e + position: {x: -540, y: -60} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|e250e86a-8cfa-4584-a585-3f34a8229559 + - fullName: Get_Variable + uid: bbf728e5-3ecf-4c1d-aa6b-d92283368124 + position: {x: -530, y: 20} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ad1686e1-53e2-41bb-8b2c-3a6723005bfc + - fullName: UnityEngineTime.__get_time__SystemSingle + uid: abe3182c-9d90-43bb-bc7a-392be5068e7f + position: {x: -740, y: 110} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Set_Variable + uid: 0be3d160-69f6-42ae-8fda-24ce52ffa288 + position: {x: -40, y: -370} + nodeUIDs: + - + - 0701e267-39fc-475f-9be4-7bd0bb4f139d|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|65de1c25-d232-4346-b7c7-c3d0e72f0104 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__Sin__SystemSingle__SystemSingle + uid: db5ebdae-e505-4cca-93d3-d134b1844c41 + position: {x: -540, y: 110} + nodeUIDs: + - abe3182c-9d90-43bb-bc7a-392be5068e7f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Block + uid: 25427eac-ecd5-499e-ae13-77a54a55ef50 + position: {x: -370, y: -570} + nodeUIDs: [] + flowUIDs: + - 23418b5f-1b21-478d-9481-e0eb7ec39442 + - 4af59101-ed93-4311-b31c-dcadd9b3230b + nodeValues: [] + - fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean + uid: f5d70bca-4430-4c0a-ad4d-8a1ce36a4881 + position: {x: -790, y: -340} + nodeUIDs: + - 7943e2ef-fbc4-4dbd-809a-0743cc54d934|0 + - f36cfda1-def5-42f5-83d2-5f43e4ed3ed4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDK3ComponentsVRCPickup.__get_IsHeld__SystemBoolean + uid: f36cfda1-def5-42f5-83d2-5f43e4ed3ed4 + position: {x: -1040, y: -270} + nodeUIDs: + - 621e59e0-6aec-42ca-b74b-66a97d020f3a|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_VRCSDK3ComponentsVRCPickup + uid: 60251231-64b1-42e1-a0cd-664ceed1e498 + position: {x: -1464, y: -624} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|pickup + - 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: VRCSDK3ComponentsVRCPickup.__get_gameObject__UnityEngineGameObject + uid: 61a32afe-0bff-4f8a-85e2-7ad6a1bb6e24 + position: {x: -1310, y: -350} + nodeUIDs: + - 621e59e0-6aec-42ca-b74b-66a97d020f3a|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 621e59e0-6aec-42ca-b74b-66a97d020f3a + position: {x: -1480, y: -270} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|60251231-64b1-42e1-a0cd-664ceed1e498 + - fullName: Variable_SystemObject + uid: 1e9b36db-c5f4-4f91-95c7-dcf7d4b6af14 + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_OnOwnershipTransferred + uid: ac337fbe-5680-4295-9f19-7f95687e4867 + position: {x: -915, y: 400} + nodeUIDs: [] + flowUIDs: + - da392624-a910-40ef-9d63-e608a9804347 + nodeValues: [] + - fullName: UnityEngineDebug.__Log__SystemObject__SystemVoid + uid: da392624-a910-40ef-9d63-e608a9804347 + position: {x: -365, y: 380} + nodeUIDs: + - 6a48910a-cd92-42b3-a44b-2ad1ad332ab3|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 6a48910a-cd92-42b3-a44b-2ad1ad332ab3 + position: {x: -660, y: 565} + nodeUIDs: + - + - ac337fbe-5680-4295-9f19-7f95687e4867|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|new + owner is {0} + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 2 + uid: f3743949-b448-4f18-a842-6ebb1c181256 + jsonData: '{"uid":"f3743949-b448-4f18-a842-6ebb1c181256","layout":{"serializedVersion":"2","x":216.86280822753907,"y":-649.1502685546875,"width":762.0,"height":318.0},"containedElements":["aaf7110a-48c4-45e3-81f0-d3ec775a3411","63e5cde2-b287-4914-92c8-70a07d8fa0d0","bd8931dc-3bd3-40e9-a26e-6cf436b982e6","4af59101-ed93-4311-b31c-dcadd9b3230b"],"title":"Update + the Material color to SyncColor","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: defafb15-2d61-46b6-93c8-f2d07fb43808 + jsonData: '{"uid":"defafb15-2d61-46b6-93c8-f2d07fb43808","layout":{"serializedVersion":"2","x":-1503.709716796875,"y":-441.51776123046877,"width":964.0,"height":279.0},"containedElements":["7943e2ef-fbc4-4dbd-809a-0743cc54d934","f36cfda1-def5-42f5-83d2-5f43e4ed3ed4","61a32afe-0bff-4f8a-85e2-7ad6a1bb6e24","621e59e0-6aec-42ca-b74b-66a97d020f3a","f5d70bca-4430-4c0a-ad4d-8a1ce36a4881"],"title":"Check + that this player is the Owner of the Object and they''re holding it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: ba8e7f2d-f832-4994-8960-a1053ae950f3 + jsonData: '{"uid":"ba8e7f2d-f832-4994-8960-a1053ae950f3","layout":{"serializedVersion":"2","x":-768.1007080078125,"y":-125.66925048828125,"width":690.0,"height":343.0},"containedElements":["db5ebdae-e505-4cca-93d3-d134b1844c41","abe3182c-9d90-43bb-bc7a-392be5068e7f","bbf728e5-3ecf-4c1d-aa6b-d92283368124","9c55e86b-602f-4a57-a3e0-a911a507717e","0701e267-39fc-475f-9be4-7bd0bb4f139d"],"title":"Change + between ''fromColor'' and ''toColor'' in a smooth manner","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 95308676-c75a-468a-8072-b19c192bb25f + jsonData: '{"uid":"95308676-c75a-468a-8072-b19c192bb25f","layout":{"serializedVersion":"2","x":-577.5718994140625,"y":-678.1742553710938,"width":346.5000305175781,"height":92.90003204345703},"title":"Block + will run things in order, so we Set the new value of syncColor before we update + the material''s color","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 5 + uid: c386a6db-9e4c-4a8c-9ad8-9777e0978956 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":29.0,"width":214.0,"height":204.0}}' + - type: 4 + uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a + jsonData: '{"visible":false,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: 1124.612, y: -2.1280518} + scale: 1.15 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncPickupColor.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncPickupColor.asset.meta new file mode 100644 index 00000000..c58f18f7 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncPickupColor.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 19c6455fcf036f447a988be402108b3c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypes.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypes.asset new file mode 100644 index 00000000..8c572663 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypes.asset @@ -0,0 +1,882 @@ +%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: SyncValueTypes + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 572585fb5a7f0464fa24f223a0d53054, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiText\r\n .sync boolValue, none\r\n + .sync intValue, none\r\n .sync floatValue, none\r\n .sync stringValue, + none\r\n .sync colorValue, none\r\n .sync vector3Value, none\r\n .sync + quaternionValue, none\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n + __Boolean_1: %SystemBoolean, null\r\n __Boolean_2: %SystemBoolean, null\r\n + __key_0: %UnityEngineKeyCode, null\r\n __Single_0: %SystemSingle, null\r\n + __Single_1: %SystemSingle, null\r\n __min_0: %SystemInt32, null\r\n __max_0: + %SystemInt32, null\r\n __min_1: %SystemSingle, null\r\n __max_1: %SystemSingle, + null\r\n __instance_0: %SystemInt32, null\r\n __min_2: %SystemInt32, null\r\n + __max_2: %SystemInt32, null\r\n __hueMin_0: %SystemSingle, null\r\n __hueMax_0: + %SystemSingle, null\r\n __saturationMin_0: %SystemSingle, null\r\n __saturationMax_0: + %SystemSingle, null\r\n __valueMin_0: %SystemSingle, null\r\n __valueMax_0: + %SystemSingle, null\r\n __instance_1: %UnityEngineUIText, null\r\n __value_0: + %SystemString, null\r\n __str0_0: %SystemString, null\r\n __str1_0: %SystemString, + null\r\n __str2_0: %SystemString, null\r\n __str3_0: %SystemString, null\r\n + __str0_1: %SystemString, null\r\n __str1_1: %SystemString, null\r\n __str2_1: + %SystemString, null\r\n __str3_1: %SystemString, null\r\n __format_0: %SystemString, + null\r\n __arg0_0: %SystemObject, null\r\n __format_1: %SystemString, null\r\n + __arg0_1: %SystemObject, null\r\n __format_2: %SystemString, null\r\n __arg0_2: + %SystemObject, null\r\n __format_3: %SystemString, null\r\n __arg0_3: %SystemObject, + null\r\n __format_4: %SystemString, null\r\n __arg0_4: %SystemObject, null\r\n + __format_5: %SystemString, null\r\n __arg0_5: %SystemObject, null\r\n __format_6: + %SystemString, null\r\n __arg0_6: %SystemObject, null\r\n __arg1_0: %SystemObject, + null\r\n __format_7: %SystemString, null\r\n __arg0_7: %SystemObject, null\r\n + __arg1_1: %SystemObject, null\r\n __arg2_0: %SystemObject, null\r\n __f_0: + %SystemSingle, null\r\n __Single_2: %SystemSingle, null\r\n __Single_3: + %SystemSingle, null\r\n __Color_0: %UnityEngineColor, null\r\n __f_1: %SystemSingle, + null\r\n __Single_4: %SystemSingle, null\r\n __Single_5: %SystemSingle, + null\r\n __Color_1: %UnityEngineColor, null\r\n __f_2: %SystemSingle, null\r\n + __Single_6: %SystemSingle, null\r\n __Single_7: %SystemSingle, null\r\n + __Color_2: %UnityEngineColor, null\r\n boolValue: %SystemBoolean, null\r\n + uiText: %UnityEngineUIText, null\r\n intValue: %SystemInt32, null\r\n floatValue: + %SystemSingle, null\r\n stringValue: %SystemString, null\r\n colorValue: + %UnityEngineColor, null\r\n vector3Value: %UnityEngineVector3, null\r\n + quaternionValue: %UnityEngineQuaternion, 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, __Boolean_1\r\n + EXTERN, \"VRCSDKBaseNetworking.__get_IsMaster__SystemBoolean\"\r\n PUSH, + __key_0\r\n PUSH, __Boolean_2\r\n EXTERN, \"UnityEngineInput.__GetKeyDown__UnityEngineKeyCode__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n PUSH, __Boolean_2\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000168\r\n PUSH, __Single_0\r\n + EXTERN, \"UnityEngineRandom.__get_value__SystemSingle\"\r\n PUSH, __Single_0\r\n + PUSH, __Single_1\r\n PUSH, boolValue\r\n EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __min_0\r\n PUSH, __max_0\r\n PUSH, intValue\r\n EXTERN, + \"UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __min_1\r\n PUSH, __max_1\r\n PUSH, floatValue\r\n + EXTERN, \"UnityEngineRandom.__Range__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __min_2\r\n PUSH, __max_2\r\n PUSH, __instance_0\r\n + EXTERN, \"UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __instance_0\r\n PUSH, stringValue\r\n EXTERN, \"SystemInt32.__ToString__SystemString\"\r\n + PUSH, vector3Value\r\n EXTERN, \"UnityEngineRandom.__get_insideUnitSphere__UnityEngineVector3\"\r\n + PUSH, quaternionValue\r\n EXTERN, \"UnityEngineRandom.__get_rotation__UnityEngineQuaternion\"\r\n + PUSH, __hueMin_0\r\n PUSH, __hueMax_0\r\n PUSH, __saturationMin_0\r\n + PUSH, __saturationMax_0\r\n PUSH, __valueMin_0\r\n PUSH, __valueMax_0\r\n + PUSH, colorValue\r\n EXTERN, \"UnityEngineRandom.__ColorHSV__SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle__UnityEngineColor\"\r\n + JUMP, 0x00000168\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _lateUpdate\r\n + \r\n _lateUpdate:\r\n \r\n PUSH, uiText\r\n PUSH, __instance_1\r\n + COPY\r\n PUSH, __format_0\r\n PUSH, boolValue\r\n PUSH, + __str0_1\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_1\r\n PUSH, intValue\r\n PUSH, __str1_1\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_2\r\n PUSH, floatValue\r\n PUSH, __str2_1\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, stringValue\r\n PUSH, __arg0_3\r\n COPY\r\n PUSH, + __format_3\r\n PUSH, __arg0_3\r\n PUSH, __str3_1\r\n EXTERN, + \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __str0_1\r\n PUSH, __str1_1\r\n PUSH, __str2_1\r\n + PUSH, __str3_1\r\n PUSH, __str0_0\r\n EXTERN, \"SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString\"\r\n + PUSH, __format_4\r\n PUSH, vector3Value\r\n PUSH, __str1_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_5\r\n PUSH, quaternionValue\r\n PUSH, __str2_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, colorValue\r\n PUSH, __Single_2\r\n EXTERN, \"UnityEngineColor.__get_r__SystemSingle\"\r\n + PUSH, __Single_2\r\n PUSH, __Single_3\r\n PUSH, __f_0\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_0\r\n PUSH, __arg0_7\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, colorValue\r\n PUSH, __Single_4\r\n EXTERN, \"UnityEngineColor.__get_g__SystemSingle\"\r\n + PUSH, __Single_4\r\n PUSH, __Single_5\r\n PUSH, __f_1\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_1\r\n PUSH, __arg1_1\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, colorValue\r\n PUSH, __Single_6\r\n EXTERN, \"UnityEngineColor.__get_b__SystemSingle\"\r\n + PUSH, __Single_6\r\n PUSH, __Single_7\r\n PUSH, __f_2\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_2\r\n PUSH, __arg2_0\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, __format_7\r\n PUSH, __arg0_7\r\n PUSH, __arg1_1\r\n + PUSH, __arg2_0\r\n PUSH, __arg0_6\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __format_6\r\n PUSH, __arg0_6\r\n PUSH, colorValue\r\n + PUSH, __str3_0\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __str0_0\r\n PUSH, __str1_0\r\n PUSH, __str2_0\r\n + PUSH, __str3_0\r\n PUSH, __value_0\r\n EXTERN, \"SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString\"\r\n + PUSH, __instance_1\r\n PUSH, __value_0\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: Variable_SystemBoolean + uid: f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + position: {x: -480, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|boolValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_IsMaster__SystemBoolean + uid: 54424432-25b3-4b9f-9c46-f3a6cc733dfa + position: {x: -480, y: 348} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Set_Variable + uid: 04d5e934-c74c-4048-8402-59f33dc0e04f + position: {x: 1128, y: 312} + nodeUIDs: + - + - a312704a-2aad-4429-a532-0f3c20b41c3c|0 + flowUIDs: + - b5b60043-3fea-40cf-8829-43cf9cb62914 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Update + uid: 3903052c-324d-4a10-8786-f3d541925635 + position: {x: -48, y: 264} + nodeUIDs: [] + flowUIDs: + - ffb0e3ac-b22d-4fca-a6ee-76ace1c59468 + nodeValues: [] + - fullName: UnityEngineInput.__GetKeyDown__UnityEngineKeyCode__SystemBoolean + uid: 489d87a2-6080-4de0-9d4e-d3a7fe8062a1 + position: {x: -564, y: 420} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.KeyCode, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|R + - fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean + uid: da5e4f5a-35a8-42b7-aff8-1467bb007e3d + position: {x: -264, y: 360} + nodeUIDs: + - 54424432-25b3-4b9f-9c46-f3a6cc733dfa|0 + - 489d87a2-6080-4de0-9d4e-d3a7fe8062a1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: ffb0e3ac-b22d-4fca-a6ee-76ace1c59468 + position: {x: 48, y: 312} + nodeUIDs: + - da5e4f5a-35a8-42b7-aff8-1467bb007e3d|0 + flowUIDs: + - 04d5e934-c74c-4048-8402-59f33dc0e04f + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__get_value__SystemSingle + uid: 44f6b084-1417-4f37-b472-9f7f1b6f1d34 + position: {x: 672, y: 384} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: a312704a-2aad-4429-a532-0f3c20b41c3c + position: {x: 816, y: 384} + nodeUIDs: + - 44f6b084-1417-4f37-b472-9f7f1b6f1d34|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.5 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 980feddf-ac08-4948-bb3e-fae3445545b0 + position: {x: 1788, y: 96} + nodeUIDs: + - + - 7721ef72-7d49-48f2-826c-42c462686df7|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|bool: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 50403a03-c6e3-42c9-9482-457513f0ea98 + position: {x: 2208, y: 24} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|7207c816-4e47-40f3-a001-c14aee68a26f + - fullName: Variable_UnityEngineUIText + uid: 7207c816-4e47-40f3-a001-c14aee68a26f + position: {x: 2496, y: -156} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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|7207c816-4e47-40f3-a001-c14aee68a26f + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 75028cc9-b478-448a-a811-d1c99adfec8d + position: {x: 2496, y: -24} + nodeUIDs: + - 50403a03-c6e3-42c9-9482-457513f0ea98|0 + - 0c8bcf9e-096f-4100-a7f4-a2ada01304e3|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 7721ef72-7d49-48f2-826c-42c462686df7 + position: {x: 1512, y: 132} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + - fullName: Event_LateUpdate + uid: b159ea46-bca2-4df9-af8b-222d8b126a00 + position: {x: 2352, y: -60} + nodeUIDs: [] + flowUIDs: + - 75028cc9-b478-448a-a811-d1c99adfec8d + nodeValues: [] + - fullName: SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString + uid: 51894493-1a47-4fad-919a-d35ccb530885 + position: {x: 2172, y: 204} + nodeUIDs: + - 980feddf-ac08-4948-bb3e-fae3445545b0|0 + - c7da974b-5a1d-4f3e-878b-a0121b513dfc|0 + - 5880c7d8-a5e9-4af2-b939-78682257f7bf|0 + - 6c5d5d5d-ff4c-4756-84bc-0c189fc4f560|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemInt32 + uid: fda37674-a606-4032-9546-b725a09b0f9e + position: {x: -288, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|intValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: b5b60043-3fea-40cf-8829-43cf9cb62914 + position: {x: 1128, y: 432} + nodeUIDs: + - + - 81c501d0-0c52-46ed-ad66-e6e6f5f452d2|0 + flowUIDs: + - d4c80e4a-730b-4a4e-ad7a-006c6be7d0ca + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda37674-a606-4032-9546-b725a09b0f9e + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32 + uid: 81c501d0-0c52-46ed-ad66-e6e6f5f452d2 + position: {x: 816, y: 492} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|10 + - fullName: Get_Variable + uid: 682ef67d-0a21-45f6-9370-2c58246db393 + position: {x: 1524, y: 252} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda37674-a606-4032-9546-b725a09b0f9e + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: c7da974b-5a1d-4f3e-878b-a0121b513dfc + position: {x: 1788, y: 216} + nodeUIDs: + - + - 682ef67d-0a21-45f6-9370-2c58246db393|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|int: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemSingle + uid: 6b7c74b4-1865-4539-bf29-b12f4e277a27 + position: {x: -96, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.0001 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|floatValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemSingle_SystemSingle__SystemSingle + uid: e53c73dd-f372-4ac7-8b4b-ff985bba2f8a + position: {x: 816, y: 612} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Set_Variable + uid: d4c80e4a-730b-4a4e-ad7a-006c6be7d0ca + position: {x: 1128, y: 552} + nodeUIDs: + - + - e53c73dd-f372-4ac7-8b4b-ff985bba2f8a|0 + flowUIDs: + - 8a84f845-adb4-4c70-9aa4-ce14dcd0066b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6b7c74b4-1865-4539-bf29-b12f4e277a27 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 5880c7d8-a5e9-4af2-b939-78682257f7bf + position: {x: 1788, y: 336} + nodeUIDs: + - + - caba5cbc-0d57-4a65-a362-0bb6f17e6786|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|float: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: caba5cbc-0d57-4a65-a362-0bb6f17e6786 + position: {x: 1524, y: 372} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6b7c74b4-1865-4539-bf29-b12f4e277a27 + - fullName: Variable_SystemString + uid: 3cea6e13-2ef3-4900-8bf5-60edecea9c6f + position: {x: 96, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0000 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|stringValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineColor + uid: fa2ebbef-574a-4160-852c-42cf5823381b + position: {x: 288, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Color, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"r":0.3921568691730499,"g":0.3921568691730499,"b":0.3921568691730499,"a":1.0} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|colorValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 8a84f845-adb4-4c70-9aa4-ce14dcd0066b + position: {x: 1128, y: 672} + nodeUIDs: + - + - eefe09e9-0464-4eea-a7a7-0e7e4ae83c86|0 + flowUIDs: + - c9e729b5-e0f7-46ab-925d-32466d8d8725 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3cea6e13-2ef3-4900-8bf5-60edecea9c6f + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32 + uid: 81fb8ee5-c334-402e-8643-67e49896f0cb + position: {x: 540, y: 720} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9999 + - fullName: SystemInt32.__ToString__SystemString + uid: eefe09e9-0464-4eea-a7a7-0e7e4ae83c86 + position: {x: 792, y: 720} + nodeUIDs: + - 81fb8ee5-c334-402e-8643-67e49896f0cb|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: c9e729b5-e0f7-46ab-925d-32466d8d8725 + position: {x: 1128, y: 792} + nodeUIDs: + - + - 69ad1f86-3a2e-4bab-aa14-677d451ef95e|0 + flowUIDs: + - 477584e5-5921-4100-88c4-711f55f7d4da + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f9233c7f-8df2-486a-8686-b107c4755e81 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__ColorHSV__SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle__UnityEngineColor + uid: 8fa522c4-af45-4c5b-b48c-46d097454bfc + position: {x: 792, y: 1056} + nodeUIDs: + - + - + - + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.8 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: ebc8fe44-961c-47b7-a134-767ee52b29f8 + position: {x: 1524, y: 480} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3cea6e13-2ef3-4900-8bf5-60edecea9c6f + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 6c5d5d5d-ff4c-4756-84bc-0c189fc4f560 + position: {x: 1788, y: 444} + nodeUIDs: + - + - ebc8fe44-961c-47b7-a134-767ee52b29f8|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|string: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: a845992d-fd8e-45cf-853a-f8d1697fc50f + position: {x: 1512, y: 912} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fa2ebbef-574a-4160-852c-42cf5823381b + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString + uid: 0fc44f84-a644-4946-9aa6-6301bffd3184 + position: {x: 1788, y: 780} + nodeUIDs: + - + - 467c22df-5322-48b7-a7f5-563ddab83538|0 + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|<color="#{0}">color: {1}</color>' + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString + uid: 0c8bcf9e-096f-4100-a7f4-a2ada01304e3 + position: {x: 2172, y: 348} + nodeUIDs: + - 51894493-1a47-4fad-919a-d35ccb530885|0 + - 45b123ee-21d6-42e1-b3e4-ef7424257a59|0 + - 836ca888-ad0a-4a80-91c8-6ebbc60cbaf7|0 + - 0fc44f84-a644-4946-9aa6-6301bffd3184|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject_SystemObject__SystemString + uid: 467c22df-5322-48b7-a7f5-563ddab83538 + position: {x: 2652, y: 912} + nodeUIDs: + - + - ca5e75a5-0c15-4bb1-a2dd-0a15c251487d|0 + - f12f9ec9-62f1-4eef-b5b2-71e3c32fcaa1|0 + - 3e427137-3998-448c-bca9-0a437ef5e3f4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|{0:X2}{1:X2}{2:X2} + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__get_r__SystemSingle + uid: f5294de3-afc9-4f15-bcc1-3c8de5ec3f2f + position: {x: 1788, y: 960} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: 99f5519b-1711-452b-94f0-f40e55537be5 + position: {x: 2088, y: 936} + nodeUIDs: + - f5294de3-afc9-4f15-bcc1-3c8de5ec3f2f|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: e2f58600-0e99-4705-9a11-0499fe5ca4e4 + position: {x: 2088, y: 1032} + nodeUIDs: + - 5a5b55f4-45d2-4656-86b1-082edfb01416|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: 8dfb6263-d407-442f-99a4-eb83b9e61b07 + position: {x: 2088, y: 1128} + nodeUIDs: + - 7944af25-49b7-48d0-9b47-57d2486c338c|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: UnityEngineColor.__get_g__SystemSingle + uid: 5a5b55f4-45d2-4656-86b1-082edfb01416 + position: {x: 1788, y: 1044} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__get_b__SystemSingle + uid: 7944af25-49b7-48d0-9b47-57d2486c338c + position: {x: 1788, y: 1128} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: ca5e75a5-0c15-4bb1-a2dd-0a15c251487d + position: {x: 2376, y: 960} + nodeUIDs: + - 99f5519b-1711-452b-94f0-f40e55537be5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: f12f9ec9-62f1-4eef-b5b2-71e3c32fcaa1 + position: {x: 2376, y: 1044} + nodeUIDs: + - e2f58600-0e99-4705-9a11-0499fe5ca4e4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: 3e427137-3998-448c-bca9-0a437ef5e3f4 + position: {x: 2376, y: 1128} + nodeUIDs: + - 8dfb6263-d407-442f-99a4-eb83b9e61b07|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineVector3 + uid: f9233c7f-8df2-486a-8686-b107c4755e81 + position: {x: 480, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.5,"y":0.5,"z":0.5} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|vector3Value + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineQuaternion + uid: 9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + position: {x: 672, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.5,"y":0.5,"z":0.5,"w":0.5} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|quaternionValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: e64b6127-e8bc-422e-924e-7e35ce9bd1b0 + position: {x: 1128, y: 1032} + nodeUIDs: + - + - 8fa522c4-af45-4c5b-b48c-46d097454bfc|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fa2ebbef-574a-4160-852c-42cf5823381b + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 477584e5-5921-4100-88c4-711f55f7d4da + position: {x: 1128, y: 912} + nodeUIDs: + - + - c17d55b4-145c-409a-9a02-c1b705d7adbb|0 + flowUIDs: + - e64b6127-e8bc-422e-924e-7e35ce9bd1b0 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__get_insideUnitSphere__UnityEngineVector3 + uid: 69ad1f86-3a2e-4bab-aa14-677d451ef95e + position: {x: 864, y: 828} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: UnityEngineRandom.__get_rotation__UnityEngineQuaternion + uid: c17d55b4-145c-409a-9a02-c1b705d7adbb + position: {x: 912, y: 948} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 45b123ee-21d6-42e1-b3e4-ef7424257a59 + position: {x: 1788, y: 552} + nodeUIDs: + - + - 8e256ba5-ff90-4d8f-b81d-82e1258a2cb5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|vector3: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 8e256ba5-ff90-4d8f-b81d-82e1258a2cb5 + position: {x: 1524, y: 588} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f9233c7f-8df2-486a-8686-b107c4755e81 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 836ca888-ad0a-4a80-91c8-6ebbc60cbaf7 + position: {x: 1788, y: 660} + nodeUIDs: + - + - 4ad248bf-a080-41a0-a629-925ac9254e30|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|quaternion: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 4ad248bf-a080-41a0-a629-925ac9254e30 + position: {x: 1524, y: 696} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: 0, y: 0} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypes.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypes.asset.meta new file mode 100644 index 00000000..506ab36e --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypes.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4eb7aa2be7d95324ea25c03bf1cab34f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesLinear.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesLinear.asset new file mode 100644 index 00000000..cc03c1e2 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesLinear.asset @@ -0,0 +1,882 @@ +%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: SyncValueTypesLinear + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: c08b191a357fb024ca79b7375e714871, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiText\r\n .sync boolValue, linear\r\n + .sync intValue, linear\r\n .sync floatValue, linear\r\n .sync stringValue, + linear\r\n .sync colorValue, linear\r\n .sync vector3Value, linear\r\n + .sync quaternionValue, linear\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n + __Boolean_1: %SystemBoolean, null\r\n __Boolean_2: %SystemBoolean, null\r\n + __key_0: %UnityEngineKeyCode, null\r\n __Single_0: %SystemSingle, null\r\n + __Single_1: %SystemSingle, null\r\n __min_0: %SystemInt32, null\r\n __max_0: + %SystemInt32, null\r\n __min_1: %SystemSingle, null\r\n __max_1: %SystemSingle, + null\r\n __instance_0: %SystemInt32, null\r\n __min_2: %SystemInt32, null\r\n + __max_2: %SystemInt32, null\r\n __hueMin_0: %SystemSingle, null\r\n __hueMax_0: + %SystemSingle, null\r\n __saturationMin_0: %SystemSingle, null\r\n __saturationMax_0: + %SystemSingle, null\r\n __valueMin_0: %SystemSingle, null\r\n __valueMax_0: + %SystemSingle, null\r\n __instance_1: %UnityEngineUIText, null\r\n __value_0: + %SystemString, null\r\n __str0_0: %SystemString, null\r\n __str1_0: %SystemString, + null\r\n __str2_0: %SystemString, null\r\n __str3_0: %SystemString, null\r\n + __str0_1: %SystemString, null\r\n __str1_1: %SystemString, null\r\n __str2_1: + %SystemString, null\r\n __str3_1: %SystemString, null\r\n __format_0: %SystemString, + null\r\n __arg0_0: %SystemObject, null\r\n __format_1: %SystemString, null\r\n + __arg0_1: %SystemObject, null\r\n __format_2: %SystemString, null\r\n __arg0_2: + %SystemObject, null\r\n __format_3: %SystemString, null\r\n __arg0_3: %SystemObject, + null\r\n __format_4: %SystemString, null\r\n __arg0_4: %SystemObject, null\r\n + __format_5: %SystemString, null\r\n __arg0_5: %SystemObject, null\r\n __format_6: + %SystemString, null\r\n __arg0_6: %SystemObject, null\r\n __arg1_0: %SystemObject, + null\r\n __format_7: %SystemString, null\r\n __arg0_7: %SystemObject, null\r\n + __arg1_1: %SystemObject, null\r\n __arg2_0: %SystemObject, null\r\n __f_0: + %SystemSingle, null\r\n __Single_2: %SystemSingle, null\r\n __Single_3: + %SystemSingle, null\r\n __Color_0: %UnityEngineColor, null\r\n __f_1: %SystemSingle, + null\r\n __Single_4: %SystemSingle, null\r\n __Single_5: %SystemSingle, + null\r\n __Color_1: %UnityEngineColor, null\r\n __f_2: %SystemSingle, null\r\n + __Single_6: %SystemSingle, null\r\n __Single_7: %SystemSingle, null\r\n + __Color_2: %UnityEngineColor, null\r\n boolValue: %SystemBoolean, null\r\n + uiText: %UnityEngineUIText, null\r\n intValue: %SystemInt32, null\r\n floatValue: + %SystemSingle, null\r\n stringValue: %SystemString, null\r\n colorValue: + %UnityEngineColor, null\r\n vector3Value: %UnityEngineVector3, null\r\n + quaternionValue: %UnityEngineQuaternion, 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, __Boolean_1\r\n + EXTERN, \"VRCSDKBaseNetworking.__get_IsMaster__SystemBoolean\"\r\n PUSH, + __key_0\r\n PUSH, __Boolean_2\r\n EXTERN, \"UnityEngineInput.__GetKeyDown__UnityEngineKeyCode__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n PUSH, __Boolean_2\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000168\r\n PUSH, __Single_0\r\n + EXTERN, \"UnityEngineRandom.__get_value__SystemSingle\"\r\n PUSH, __Single_0\r\n + PUSH, __Single_1\r\n PUSH, boolValue\r\n EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __min_0\r\n PUSH, __max_0\r\n PUSH, intValue\r\n EXTERN, + \"UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __min_1\r\n PUSH, __max_1\r\n PUSH, floatValue\r\n + EXTERN, \"UnityEngineRandom.__Range__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __min_2\r\n PUSH, __max_2\r\n PUSH, __instance_0\r\n + EXTERN, \"UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __instance_0\r\n PUSH, stringValue\r\n EXTERN, \"SystemInt32.__ToString__SystemString\"\r\n + PUSH, vector3Value\r\n EXTERN, \"UnityEngineRandom.__get_insideUnitSphere__UnityEngineVector3\"\r\n + PUSH, quaternionValue\r\n EXTERN, \"UnityEngineRandom.__get_rotation__UnityEngineQuaternion\"\r\n + PUSH, __hueMin_0\r\n PUSH, __hueMax_0\r\n PUSH, __saturationMin_0\r\n + PUSH, __saturationMax_0\r\n PUSH, __valueMin_0\r\n PUSH, __valueMax_0\r\n + PUSH, colorValue\r\n EXTERN, \"UnityEngineRandom.__ColorHSV__SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle__UnityEngineColor\"\r\n + JUMP, 0x00000168\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _lateUpdate\r\n + \r\n _lateUpdate:\r\n \r\n PUSH, uiText\r\n PUSH, __instance_1\r\n + COPY\r\n PUSH, __format_0\r\n PUSH, boolValue\r\n PUSH, + __str0_1\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_1\r\n PUSH, intValue\r\n PUSH, __str1_1\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_2\r\n PUSH, floatValue\r\n PUSH, __str2_1\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, stringValue\r\n PUSH, __arg0_3\r\n COPY\r\n PUSH, + __format_3\r\n PUSH, __arg0_3\r\n PUSH, __str3_1\r\n EXTERN, + \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __str0_1\r\n PUSH, __str1_1\r\n PUSH, __str2_1\r\n + PUSH, __str3_1\r\n PUSH, __str0_0\r\n EXTERN, \"SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString\"\r\n + PUSH, __format_4\r\n PUSH, vector3Value\r\n PUSH, __str1_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_5\r\n PUSH, quaternionValue\r\n PUSH, __str2_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, colorValue\r\n PUSH, __Single_2\r\n EXTERN, \"UnityEngineColor.__get_r__SystemSingle\"\r\n + PUSH, __Single_2\r\n PUSH, __Single_3\r\n PUSH, __f_0\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_0\r\n PUSH, __arg0_7\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, colorValue\r\n PUSH, __Single_4\r\n EXTERN, \"UnityEngineColor.__get_g__SystemSingle\"\r\n + PUSH, __Single_4\r\n PUSH, __Single_5\r\n PUSH, __f_1\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_1\r\n PUSH, __arg1_1\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, colorValue\r\n PUSH, __Single_6\r\n EXTERN, \"UnityEngineColor.__get_b__SystemSingle\"\r\n + PUSH, __Single_6\r\n PUSH, __Single_7\r\n PUSH, __f_2\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_2\r\n PUSH, __arg2_0\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, __format_7\r\n PUSH, __arg0_7\r\n PUSH, __arg1_1\r\n + PUSH, __arg2_0\r\n PUSH, __arg0_6\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __format_6\r\n PUSH, __arg0_6\r\n PUSH, colorValue\r\n + PUSH, __str3_0\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __str0_0\r\n PUSH, __str1_0\r\n PUSH, __str2_0\r\n + PUSH, __str3_0\r\n PUSH, __value_0\r\n EXTERN, \"SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString\"\r\n + PUSH, __instance_1\r\n PUSH, __value_0\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: Variable_SystemBoolean + uid: f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + position: {x: -480, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|boolValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: VRCSDKBaseNetworking.__get_IsMaster__SystemBoolean + uid: 54424432-25b3-4b9f-9c46-f3a6cc733dfa + position: {x: -480, y: 348} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Set_Variable + uid: 04d5e934-c74c-4048-8402-59f33dc0e04f + position: {x: 1128, y: 312} + nodeUIDs: + - + - a312704a-2aad-4429-a532-0f3c20b41c3c|0 + flowUIDs: + - b5b60043-3fea-40cf-8829-43cf9cb62914 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Update + uid: 3903052c-324d-4a10-8786-f3d541925635 + position: {x: -48, y: 264} + nodeUIDs: [] + flowUIDs: + - ffb0e3ac-b22d-4fca-a6ee-76ace1c59468 + nodeValues: [] + - fullName: UnityEngineInput.__GetKeyDown__UnityEngineKeyCode__SystemBoolean + uid: 489d87a2-6080-4de0-9d4e-d3a7fe8062a1 + position: {x: -564, y: 420} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.KeyCode, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|R + - fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean + uid: da5e4f5a-35a8-42b7-aff8-1467bb007e3d + position: {x: -264, y: 360} + nodeUIDs: + - 54424432-25b3-4b9f-9c46-f3a6cc733dfa|0 + - 489d87a2-6080-4de0-9d4e-d3a7fe8062a1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: ffb0e3ac-b22d-4fca-a6ee-76ace1c59468 + position: {x: 48, y: 312} + nodeUIDs: + - da5e4f5a-35a8-42b7-aff8-1467bb007e3d|0 + flowUIDs: + - 04d5e934-c74c-4048-8402-59f33dc0e04f + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__get_value__SystemSingle + uid: 44f6b084-1417-4f37-b472-9f7f1b6f1d34 + position: {x: 672, y: 384} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: a312704a-2aad-4429-a532-0f3c20b41c3c + position: {x: 816, y: 384} + nodeUIDs: + - 44f6b084-1417-4f37-b472-9f7f1b6f1d34|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.5 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 980feddf-ac08-4948-bb3e-fae3445545b0 + position: {x: 1788, y: 96} + nodeUIDs: + - + - 7721ef72-7d49-48f2-826c-42c462686df7|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|bool: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 50403a03-c6e3-42c9-9482-457513f0ea98 + position: {x: 2208, y: 24} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|7207c816-4e47-40f3-a001-c14aee68a26f + - fullName: Variable_UnityEngineUIText + uid: 7207c816-4e47-40f3-a001-c14aee68a26f + position: {x: 2496, y: -156} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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|7207c816-4e47-40f3-a001-c14aee68a26f + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 75028cc9-b478-448a-a811-d1c99adfec8d + position: {x: 2496, y: -24} + nodeUIDs: + - 50403a03-c6e3-42c9-9482-457513f0ea98|0 + - 0c8bcf9e-096f-4100-a7f4-a2ada01304e3|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 7721ef72-7d49-48f2-826c-42c462686df7 + position: {x: 1512, y: 132} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + - fullName: Event_LateUpdate + uid: b159ea46-bca2-4df9-af8b-222d8b126a00 + position: {x: 2352, y: -60} + nodeUIDs: [] + flowUIDs: + - 75028cc9-b478-448a-a811-d1c99adfec8d + nodeValues: [] + - fullName: SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString + uid: 51894493-1a47-4fad-919a-d35ccb530885 + position: {x: 2172, y: 204} + nodeUIDs: + - 980feddf-ac08-4948-bb3e-fae3445545b0|0 + - c7da974b-5a1d-4f3e-878b-a0121b513dfc|0 + - 5880c7d8-a5e9-4af2-b939-78682257f7bf|0 + - 6c5d5d5d-ff4c-4756-84bc-0c189fc4f560|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemInt32 + uid: fda37674-a606-4032-9546-b725a09b0f9e + position: {x: -288, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|intValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: Set_Variable + uid: b5b60043-3fea-40cf-8829-43cf9cb62914 + position: {x: 1128, y: 432} + nodeUIDs: + - + - 81c501d0-0c52-46ed-ad66-e6e6f5f452d2|0 + flowUIDs: + - d4c80e4a-730b-4a4e-ad7a-006c6be7d0ca + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda37674-a606-4032-9546-b725a09b0f9e + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32 + uid: 81c501d0-0c52-46ed-ad66-e6e6f5f452d2 + position: {x: 816, y: 492} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|10 + - fullName: Get_Variable + uid: 682ef67d-0a21-45f6-9370-2c58246db393 + position: {x: 1524, y: 252} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda37674-a606-4032-9546-b725a09b0f9e + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: c7da974b-5a1d-4f3e-878b-a0121b513dfc + position: {x: 1788, y: 216} + nodeUIDs: + - + - 682ef67d-0a21-45f6-9370-2c58246db393|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|int: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemSingle + uid: 6b7c74b4-1865-4539-bf29-b12f4e277a27 + position: {x: -96, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.0001 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|floatValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: UnityEngineRandom.__Range__SystemSingle_SystemSingle__SystemSingle + uid: e53c73dd-f372-4ac7-8b4b-ff985bba2f8a + position: {x: 816, y: 612} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Set_Variable + uid: d4c80e4a-730b-4a4e-ad7a-006c6be7d0ca + position: {x: 1128, y: 552} + nodeUIDs: + - + - e53c73dd-f372-4ac7-8b4b-ff985bba2f8a|0 + flowUIDs: + - 8a84f845-adb4-4c70-9aa4-ce14dcd0066b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6b7c74b4-1865-4539-bf29-b12f4e277a27 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 5880c7d8-a5e9-4af2-b939-78682257f7bf + position: {x: 1788, y: 336} + nodeUIDs: + - + - caba5cbc-0d57-4a65-a362-0bb6f17e6786|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|float: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: caba5cbc-0d57-4a65-a362-0bb6f17e6786 + position: {x: 1524, y: 372} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6b7c74b4-1865-4539-bf29-b12f4e277a27 + - fullName: Variable_SystemString + uid: 3cea6e13-2ef3-4900-8bf5-60edecea9c6f + position: {x: 96, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0000 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|stringValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: Variable_UnityEngineColor + uid: fa2ebbef-574a-4160-852c-42cf5823381b + position: {x: 288, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Color, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"r":0.3921568691730499,"g":0.3921568691730499,"b":0.3921568691730499,"a":1.0} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|colorValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: Set_Variable + uid: 8a84f845-adb4-4c70-9aa4-ce14dcd0066b + position: {x: 1128, y: 672} + nodeUIDs: + - + - eefe09e9-0464-4eea-a7a7-0e7e4ae83c86|0 + flowUIDs: + - c9e729b5-e0f7-46ab-925d-32466d8d8725 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3cea6e13-2ef3-4900-8bf5-60edecea9c6f + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32 + uid: 81fb8ee5-c334-402e-8643-67e49896f0cb + position: {x: 540, y: 720} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9999 + - fullName: SystemInt32.__ToString__SystemString + uid: eefe09e9-0464-4eea-a7a7-0e7e4ae83c86 + position: {x: 792, y: 720} + nodeUIDs: + - 81fb8ee5-c334-402e-8643-67e49896f0cb|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: c9e729b5-e0f7-46ab-925d-32466d8d8725 + position: {x: 1128, y: 792} + nodeUIDs: + - + - 69ad1f86-3a2e-4bab-aa14-677d451ef95e|0 + flowUIDs: + - 477584e5-5921-4100-88c4-711f55f7d4da + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f9233c7f-8df2-486a-8686-b107c4755e81 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__ColorHSV__SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle__UnityEngineColor + uid: 8fa522c4-af45-4c5b-b48c-46d097454bfc + position: {x: 792, y: 1056} + nodeUIDs: + - + - + - + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.8 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: ebc8fe44-961c-47b7-a134-767ee52b29f8 + position: {x: 1524, y: 480} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3cea6e13-2ef3-4900-8bf5-60edecea9c6f + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 6c5d5d5d-ff4c-4756-84bc-0c189fc4f560 + position: {x: 1788, y: 444} + nodeUIDs: + - + - ebc8fe44-961c-47b7-a134-767ee52b29f8|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|string: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: a845992d-fd8e-45cf-853a-f8d1697fc50f + position: {x: 1512, y: 912} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fa2ebbef-574a-4160-852c-42cf5823381b + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString + uid: 0fc44f84-a644-4946-9aa6-6301bffd3184 + position: {x: 1788, y: 780} + nodeUIDs: + - + - 467c22df-5322-48b7-a7f5-563ddab83538|0 + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|<color="#{0}">color: {1}</color>' + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString + uid: 0c8bcf9e-096f-4100-a7f4-a2ada01304e3 + position: {x: 2172, y: 348} + nodeUIDs: + - 51894493-1a47-4fad-919a-d35ccb530885|0 + - 45b123ee-21d6-42e1-b3e4-ef7424257a59|0 + - 836ca888-ad0a-4a80-91c8-6ebbc60cbaf7|0 + - 0fc44f84-a644-4946-9aa6-6301bffd3184|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject_SystemObject__SystemString + uid: 467c22df-5322-48b7-a7f5-563ddab83538 + position: {x: 2652, y: 912} + nodeUIDs: + - + - ca5e75a5-0c15-4bb1-a2dd-0a15c251487d|0 + - f12f9ec9-62f1-4eef-b5b2-71e3c32fcaa1|0 + - 3e427137-3998-448c-bca9-0a437ef5e3f4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|{0:X2}{1:X2}{2:X2} + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__get_r__SystemSingle + uid: f5294de3-afc9-4f15-bcc1-3c8de5ec3f2f + position: {x: 1788, y: 960} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: 99f5519b-1711-452b-94f0-f40e55537be5 + position: {x: 2088, y: 936} + nodeUIDs: + - f5294de3-afc9-4f15-bcc1-3c8de5ec3f2f|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: e2f58600-0e99-4705-9a11-0499fe5ca4e4 + position: {x: 2088, y: 1032} + nodeUIDs: + - 5a5b55f4-45d2-4656-86b1-082edfb01416|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: 8dfb6263-d407-442f-99a4-eb83b9e61b07 + position: {x: 2088, y: 1128} + nodeUIDs: + - 7944af25-49b7-48d0-9b47-57d2486c338c|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: UnityEngineColor.__get_g__SystemSingle + uid: 5a5b55f4-45d2-4656-86b1-082edfb01416 + position: {x: 1788, y: 1044} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__get_b__SystemSingle + uid: 7944af25-49b7-48d0-9b47-57d2486c338c + position: {x: 1788, y: 1128} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: ca5e75a5-0c15-4bb1-a2dd-0a15c251487d + position: {x: 2376, y: 960} + nodeUIDs: + - 99f5519b-1711-452b-94f0-f40e55537be5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: f12f9ec9-62f1-4eef-b5b2-71e3c32fcaa1 + position: {x: 2376, y: 1044} + nodeUIDs: + - e2f58600-0e99-4705-9a11-0499fe5ca4e4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: 3e427137-3998-448c-bca9-0a437ef5e3f4 + position: {x: 2376, y: 1128} + nodeUIDs: + - 8dfb6263-d407-442f-99a4-eb83b9e61b07|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineVector3 + uid: f9233c7f-8df2-486a-8686-b107c4755e81 + position: {x: 480, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.5,"y":0.5,"z":0.5} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|vector3Value + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: Variable_UnityEngineQuaternion + uid: 9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + position: {x: 672, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.5,"y":0.5,"z":0.5,"w":0.5} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|quaternionValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|linear + - fullName: Set_Variable + uid: e64b6127-e8bc-422e-924e-7e35ce9bd1b0 + position: {x: 1128, y: 1032} + nodeUIDs: + - + - 8fa522c4-af45-4c5b-b48c-46d097454bfc|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fa2ebbef-574a-4160-852c-42cf5823381b + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 477584e5-5921-4100-88c4-711f55f7d4da + position: {x: 1128, y: 912} + nodeUIDs: + - + - c17d55b4-145c-409a-9a02-c1b705d7adbb|0 + flowUIDs: + - e64b6127-e8bc-422e-924e-7e35ce9bd1b0 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__get_insideUnitSphere__UnityEngineVector3 + uid: 69ad1f86-3a2e-4bab-aa14-677d451ef95e + position: {x: 864, y: 828} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: UnityEngineRandom.__get_rotation__UnityEngineQuaternion + uid: c17d55b4-145c-409a-9a02-c1b705d7adbb + position: {x: 912, y: 948} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 45b123ee-21d6-42e1-b3e4-ef7424257a59 + position: {x: 1788, y: 552} + nodeUIDs: + - + - 8e256ba5-ff90-4d8f-b81d-82e1258a2cb5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|vector3: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 8e256ba5-ff90-4d8f-b81d-82e1258a2cb5 + position: {x: 1524, y: 588} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f9233c7f-8df2-486a-8686-b107c4755e81 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 836ca888-ad0a-4a80-91c8-6ebbc60cbaf7 + position: {x: 1788, y: 660} + nodeUIDs: + - + - 4ad248bf-a080-41a0-a629-925ac9254e30|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|quaternion: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 4ad248bf-a080-41a0-a629-925ac9254e30 + position: {x: 1524, y: 696} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: 0, y: 0} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesLinear.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesLinear.asset.meta new file mode 100644 index 00000000..38466cdd --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesLinear.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 699261d683532df468f1ed17ff8c8cf1 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesSmooth.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesSmooth.asset new file mode 100644 index 00000000..cb6ba151 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesSmooth.asset @@ -0,0 +1,882 @@ +%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: SyncValueTypesSmooth + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 68eca2b245a9f0240b287f9b592b97da, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiText\r\n .sync boolValue, smooth\r\n + .sync intValue, smooth\r\n .sync floatValue, smooth\r\n .sync stringValue, + smooth\r\n .sync colorValue, smooth\r\n .sync vector3Value, smooth\r\n + .sync quaternionValue, smooth\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n + __Boolean_1: %SystemBoolean, null\r\n __Boolean_2: %SystemBoolean, null\r\n + __key_0: %UnityEngineKeyCode, null\r\n __Single_0: %SystemSingle, null\r\n + __Single_1: %SystemSingle, null\r\n __min_0: %SystemInt32, null\r\n __max_0: + %SystemInt32, null\r\n __min_1: %SystemSingle, null\r\n __max_1: %SystemSingle, + null\r\n __instance_0: %SystemInt32, null\r\n __min_2: %SystemInt32, null\r\n + __max_2: %SystemInt32, null\r\n __hueMin_0: %SystemSingle, null\r\n __hueMax_0: + %SystemSingle, null\r\n __saturationMin_0: %SystemSingle, null\r\n __saturationMax_0: + %SystemSingle, null\r\n __valueMin_0: %SystemSingle, null\r\n __valueMax_0: + %SystemSingle, null\r\n __instance_1: %UnityEngineUIText, null\r\n __value_0: + %SystemString, null\r\n __str0_0: %SystemString, null\r\n __str1_0: %SystemString, + null\r\n __str2_0: %SystemString, null\r\n __str3_0: %SystemString, null\r\n + __str0_1: %SystemString, null\r\n __str1_1: %SystemString, null\r\n __str2_1: + %SystemString, null\r\n __str3_1: %SystemString, null\r\n __format_0: %SystemString, + null\r\n __arg0_0: %SystemObject, null\r\n __format_1: %SystemString, null\r\n + __arg0_1: %SystemObject, null\r\n __format_2: %SystemString, null\r\n __arg0_2: + %SystemObject, null\r\n __format_3: %SystemString, null\r\n __arg0_3: %SystemObject, + null\r\n __format_4: %SystemString, null\r\n __arg0_4: %SystemObject, null\r\n + __format_5: %SystemString, null\r\n __arg0_5: %SystemObject, null\r\n __format_6: + %SystemString, null\r\n __arg0_6: %SystemObject, null\r\n __arg1_0: %SystemObject, + null\r\n __format_7: %SystemString, null\r\n __arg0_7: %SystemObject, null\r\n + __arg1_1: %SystemObject, null\r\n __arg2_0: %SystemObject, null\r\n __f_0: + %SystemSingle, null\r\n __Single_2: %SystemSingle, null\r\n __Single_3: + %SystemSingle, null\r\n __Color_0: %UnityEngineColor, null\r\n __f_1: %SystemSingle, + null\r\n __Single_4: %SystemSingle, null\r\n __Single_5: %SystemSingle, + null\r\n __Color_1: %UnityEngineColor, null\r\n __f_2: %SystemSingle, null\r\n + __Single_6: %SystemSingle, null\r\n __Single_7: %SystemSingle, null\r\n + __Color_2: %UnityEngineColor, null\r\n boolValue: %SystemBoolean, null\r\n + uiText: %UnityEngineUIText, null\r\n intValue: %SystemInt32, null\r\n floatValue: + %SystemSingle, null\r\n stringValue: %SystemString, null\r\n colorValue: + %UnityEngineColor, null\r\n vector3Value: %UnityEngineVector3, null\r\n + quaternionValue: %UnityEngineQuaternion, 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, __Boolean_1\r\n + EXTERN, \"VRCSDKBaseNetworking.__get_IsMaster__SystemBoolean\"\r\n PUSH, + __key_0\r\n PUSH, __Boolean_2\r\n EXTERN, \"UnityEngineInput.__GetKeyDown__UnityEngineKeyCode__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n PUSH, __Boolean_2\r\n PUSH, __Boolean_0\r\n + EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000168\r\n PUSH, __Single_0\r\n + EXTERN, \"UnityEngineRandom.__get_value__SystemSingle\"\r\n PUSH, __Single_0\r\n + PUSH, __Single_1\r\n PUSH, boolValue\r\n EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __min_0\r\n PUSH, __max_0\r\n PUSH, intValue\r\n EXTERN, + \"UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __min_1\r\n PUSH, __max_1\r\n PUSH, floatValue\r\n + EXTERN, \"UnityEngineRandom.__Range__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __min_2\r\n PUSH, __max_2\r\n PUSH, __instance_0\r\n + EXTERN, \"UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32\"\r\n + PUSH, __instance_0\r\n PUSH, stringValue\r\n EXTERN, \"SystemInt32.__ToString__SystemString\"\r\n + PUSH, vector3Value\r\n EXTERN, \"UnityEngineRandom.__get_insideUnitSphere__UnityEngineVector3\"\r\n + PUSH, quaternionValue\r\n EXTERN, \"UnityEngineRandom.__get_rotation__UnityEngineQuaternion\"\r\n + PUSH, __hueMin_0\r\n PUSH, __hueMax_0\r\n PUSH, __saturationMin_0\r\n + PUSH, __saturationMax_0\r\n PUSH, __valueMin_0\r\n PUSH, __valueMax_0\r\n + PUSH, colorValue\r\n EXTERN, \"UnityEngineRandom.__ColorHSV__SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle__UnityEngineColor\"\r\n + JUMP, 0x00000168\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _lateUpdate\r\n + \r\n _lateUpdate:\r\n \r\n PUSH, uiText\r\n PUSH, __instance_1\r\n + COPY\r\n PUSH, __format_0\r\n PUSH, boolValue\r\n PUSH, + __str0_1\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_1\r\n PUSH, intValue\r\n PUSH, __str1_1\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_2\r\n PUSH, floatValue\r\n PUSH, __str2_1\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, stringValue\r\n PUSH, __arg0_3\r\n COPY\r\n PUSH, + __format_3\r\n PUSH, __arg0_3\r\n PUSH, __str3_1\r\n EXTERN, + \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __str0_1\r\n PUSH, __str1_1\r\n PUSH, __str2_1\r\n + PUSH, __str3_1\r\n PUSH, __str0_0\r\n EXTERN, \"SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString\"\r\n + PUSH, __format_4\r\n PUSH, vector3Value\r\n PUSH, __str1_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, __format_5\r\n PUSH, quaternionValue\r\n PUSH, __str2_0\r\n + EXTERN, \"SystemString.__Format__SystemString_SystemObject__SystemString\"\r\n + PUSH, colorValue\r\n PUSH, __Single_2\r\n EXTERN, \"UnityEngineColor.__get_r__SystemSingle\"\r\n + PUSH, __Single_2\r\n PUSH, __Single_3\r\n PUSH, __f_0\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_0\r\n PUSH, __arg0_7\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, colorValue\r\n PUSH, __Single_4\r\n EXTERN, \"UnityEngineColor.__get_g__SystemSingle\"\r\n + PUSH, __Single_4\r\n PUSH, __Single_5\r\n PUSH, __f_1\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_1\r\n PUSH, __arg1_1\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, colorValue\r\n PUSH, __Single_6\r\n EXTERN, \"UnityEngineColor.__get_b__SystemSingle\"\r\n + PUSH, __Single_6\r\n PUSH, __Single_7\r\n PUSH, __f_2\r\n + EXTERN, \"SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __f_2\r\n PUSH, __arg2_0\r\n EXTERN, \"UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32\"\r\n + PUSH, __format_7\r\n PUSH, __arg0_7\r\n PUSH, __arg1_1\r\n + PUSH, __arg2_0\r\n PUSH, __arg0_6\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __format_6\r\n PUSH, __arg0_6\r\n PUSH, colorValue\r\n + PUSH, __str3_0\r\n EXTERN, \"SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString\"\r\n + PUSH, __str0_0\r\n PUSH, __str1_0\r\n PUSH, __str2_0\r\n + PUSH, __str3_0\r\n PUSH, __value_0\r\n EXTERN, \"SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString\"\r\n + PUSH, __instance_1\r\n PUSH, __value_0\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: Variable_SystemBoolean + uid: f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + position: {x: -480, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|boolValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: VRCSDKBaseNetworking.__get_IsMaster__SystemBoolean + uid: 54424432-25b3-4b9f-9c46-f3a6cc733dfa + position: {x: -480, y: 348} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Set_Variable + uid: 04d5e934-c74c-4048-8402-59f33dc0e04f + position: {x: 1128, y: 312} + nodeUIDs: + - + - a312704a-2aad-4429-a532-0f3c20b41c3c|0 + flowUIDs: + - b5b60043-3fea-40cf-8829-43cf9cb62914 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Update + uid: 3903052c-324d-4a10-8786-f3d541925635 + position: {x: -48, y: 264} + nodeUIDs: [] + flowUIDs: + - ffb0e3ac-b22d-4fca-a6ee-76ace1c59468 + nodeValues: [] + - fullName: UnityEngineInput.__GetKeyDown__UnityEngineKeyCode__SystemBoolean + uid: 489d87a2-6080-4de0-9d4e-d3a7fe8062a1 + position: {x: -564, y: 420} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.KeyCode, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|R + - fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean + uid: da5e4f5a-35a8-42b7-aff8-1467bb007e3d + position: {x: -264, y: 360} + nodeUIDs: + - 54424432-25b3-4b9f-9c46-f3a6cc733dfa|0 + - 489d87a2-6080-4de0-9d4e-d3a7fe8062a1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: ffb0e3ac-b22d-4fca-a6ee-76ace1c59468 + position: {x: 48, y: 312} + nodeUIDs: + - da5e4f5a-35a8-42b7-aff8-1467bb007e3d|0 + flowUIDs: + - 04d5e934-c74c-4048-8402-59f33dc0e04f + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__get_value__SystemSingle + uid: 44f6b084-1417-4f37-b472-9f7f1b6f1d34 + position: {x: 672, y: 384} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: a312704a-2aad-4429-a532-0f3c20b41c3c + position: {x: 816, y: 384} + nodeUIDs: + - 44f6b084-1417-4f37-b472-9f7f1b6f1d34|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.5 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 980feddf-ac08-4948-bb3e-fae3445545b0 + position: {x: 1788, y: 96} + nodeUIDs: + - + - 7721ef72-7d49-48f2-826c-42c462686df7|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|bool: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 50403a03-c6e3-42c9-9482-457513f0ea98 + position: {x: 2208, y: 24} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|7207c816-4e47-40f3-a001-c14aee68a26f + - fullName: Variable_UnityEngineUIText + uid: 7207c816-4e47-40f3-a001-c14aee68a26f + position: {x: 2496, y: -156} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiText + - 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|7207c816-4e47-40f3-a001-c14aee68a26f + - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid + uid: 75028cc9-b478-448a-a811-d1c99adfec8d + position: {x: 2496, y: -24} + nodeUIDs: + - 50403a03-c6e3-42c9-9482-457513f0ea98|0 + - 0c8bcf9e-096f-4100-a7f4-a2ada01304e3|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 7721ef72-7d49-48f2-826c-42c462686df7 + position: {x: 1512, y: 132} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f7e7ae4e-9047-4ad0-8163-6209d45a35e0 + - fullName: Event_LateUpdate + uid: b159ea46-bca2-4df9-af8b-222d8b126a00 + position: {x: 2352, y: -60} + nodeUIDs: [] + flowUIDs: + - 75028cc9-b478-448a-a811-d1c99adfec8d + nodeValues: [] + - fullName: SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString + uid: 51894493-1a47-4fad-919a-d35ccb530885 + position: {x: 2172, y: 204} + nodeUIDs: + - 980feddf-ac08-4948-bb3e-fae3445545b0|0 + - c7da974b-5a1d-4f3e-878b-a0121b513dfc|0 + - 5880c7d8-a5e9-4af2-b939-78682257f7bf|0 + - 6c5d5d5d-ff4c-4756-84bc-0c189fc4f560|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemInt32 + uid: fda37674-a606-4032-9546-b725a09b0f9e + position: {x: -288, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|intValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: Set_Variable + uid: b5b60043-3fea-40cf-8829-43cf9cb62914 + position: {x: 1128, y: 432} + nodeUIDs: + - + - 81c501d0-0c52-46ed-ad66-e6e6f5f452d2|0 + flowUIDs: + - d4c80e4a-730b-4a4e-ad7a-006c6be7d0ca + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda37674-a606-4032-9546-b725a09b0f9e + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32 + uid: 81c501d0-0c52-46ed-ad66-e6e6f5f452d2 + position: {x: 816, y: 492} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|10 + - fullName: Get_Variable + uid: 682ef67d-0a21-45f6-9370-2c58246db393 + position: {x: 1524, y: 252} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fda37674-a606-4032-9546-b725a09b0f9e + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: c7da974b-5a1d-4f3e-878b-a0121b513dfc + position: {x: 1788, y: 216} + nodeUIDs: + - + - 682ef67d-0a21-45f6-9370-2c58246db393|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|int: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemSingle + uid: 6b7c74b4-1865-4539-bf29-b12f4e277a27 + position: {x: -96, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.0001 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|floatValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: UnityEngineRandom.__Range__SystemSingle_SystemSingle__SystemSingle + uid: e53c73dd-f372-4ac7-8b4b-ff985bba2f8a + position: {x: 816, y: 612} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - fullName: Set_Variable + uid: d4c80e4a-730b-4a4e-ad7a-006c6be7d0ca + position: {x: 1128, y: 552} + nodeUIDs: + - + - e53c73dd-f372-4ac7-8b4b-ff985bba2f8a|0 + flowUIDs: + - 8a84f845-adb4-4c70-9aa4-ce14dcd0066b + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6b7c74b4-1865-4539-bf29-b12f4e277a27 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 5880c7d8-a5e9-4af2-b939-78682257f7bf + position: {x: 1788, y: 336} + nodeUIDs: + - + - caba5cbc-0d57-4a65-a362-0bb6f17e6786|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|float: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: caba5cbc-0d57-4a65-a362-0bb6f17e6786 + position: {x: 1524, y: 372} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6b7c74b4-1865-4539-bf29-b12f4e277a27 + - fullName: Variable_SystemString + uid: 3cea6e13-2ef3-4900-8bf5-60edecea9c6f + position: {x: 96, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0000 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|stringValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: Variable_UnityEngineColor + uid: fa2ebbef-574a-4160-852c-42cf5823381b + position: {x: 288, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Color, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"r":0.3921568691730499,"g":0.3921568691730499,"b":0.3921568691730499,"a":1.0} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|colorValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: Set_Variable + uid: 8a84f845-adb4-4c70-9aa4-ce14dcd0066b + position: {x: 1128, y: 672} + nodeUIDs: + - + - eefe09e9-0464-4eea-a7a7-0e7e4ae83c86|0 + flowUIDs: + - c9e729b5-e0f7-46ab-925d-32466d8d8725 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3cea6e13-2ef3-4900-8bf5-60edecea9c6f + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__Range__SystemInt32_SystemInt32__SystemInt32 + uid: 81fb8ee5-c334-402e-8643-67e49896f0cb + position: {x: 540, y: 720} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9999 + - fullName: SystemInt32.__ToString__SystemString + uid: eefe09e9-0464-4eea-a7a7-0e7e4ae83c86 + position: {x: 792, y: 720} + nodeUIDs: + - 81fb8ee5-c334-402e-8643-67e49896f0cb|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: c9e729b5-e0f7-46ab-925d-32466d8d8725 + position: {x: 1128, y: 792} + nodeUIDs: + - + - 69ad1f86-3a2e-4bab-aa14-677d451ef95e|0 + flowUIDs: + - 477584e5-5921-4100-88c4-711f55f7d4da + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f9233c7f-8df2-486a-8686-b107c4755e81 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__ColorHSV__SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle_SystemSingle__UnityEngineColor + uid: 8fa522c4-af45-4c5b-b48c-46d097454bfc + position: {x: 792, y: 1056} + nodeUIDs: + - + - + - + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0.8 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: ebc8fe44-961c-47b7-a134-767ee52b29f8 + position: {x: 1524, y: 480} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3cea6e13-2ef3-4900-8bf5-60edecea9c6f + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 6c5d5d5d-ff4c-4756-84bc-0c189fc4f560 + position: {x: 1788, y: 444} + nodeUIDs: + - + - ebc8fe44-961c-47b7-a134-767ee52b29f8|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|string: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: a845992d-fd8e-45cf-853a-f8d1697fc50f + position: {x: 1512, y: 912} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fa2ebbef-574a-4160-852c-42cf5823381b + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject__SystemString + uid: 0fc44f84-a644-4946-9aa6-6301bffd3184 + position: {x: 1788, y: 780} + nodeUIDs: + - + - 467c22df-5322-48b7-a7f5-563ddab83538|0 + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|<color="#{0}">color: {1}</color>' + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Concat__SystemString_SystemString_SystemString_SystemString__SystemString + uid: 0c8bcf9e-096f-4100-a7f4-a2ada01304e3 + position: {x: 2172, y: 348} + nodeUIDs: + - 51894493-1a47-4fad-919a-d35ccb530885|0 + - 45b123ee-21d6-42e1-b3e4-ef7424257a59|0 + - 836ca888-ad0a-4a80-91c8-6ebbc60cbaf7|0 + - 0fc44f84-a644-4946-9aa6-6301bffd3184|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemString.__Format__SystemString_SystemObject_SystemObject_SystemObject__SystemString + uid: 467c22df-5322-48b7-a7f5-563ddab83538 + position: {x: 2652, y: 912} + nodeUIDs: + - + - ca5e75a5-0c15-4bb1-a2dd-0a15c251487d|0 + - f12f9ec9-62f1-4eef-b5b2-71e3c32fcaa1|0 + - 3e427137-3998-448c-bca9-0a437ef5e3f4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|{0:X2}{1:X2}{2:X2} + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__get_r__SystemSingle + uid: f5294de3-afc9-4f15-bcc1-3c8de5ec3f2f + position: {x: 1788, y: 960} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: 99f5519b-1711-452b-94f0-f40e55537be5 + position: {x: 2088, y: 936} + nodeUIDs: + - f5294de3-afc9-4f15-bcc1-3c8de5ec3f2f|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: e2f58600-0e99-4705-9a11-0499fe5ca4e4 + position: {x: 2088, y: 1032} + nodeUIDs: + - 5a5b55f4-45d2-4656-86b1-082edfb01416|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle + uid: 8dfb6263-d407-442f-99a4-eb83b9e61b07 + position: {x: 2088, y: 1128} + nodeUIDs: + - 7944af25-49b7-48d0-9b47-57d2486c338c|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|255 + - fullName: UnityEngineColor.__get_g__SystemSingle + uid: 5a5b55f4-45d2-4656-86b1-082edfb01416 + position: {x: 1788, y: 1044} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineColor.__get_b__SystemSingle + uid: 7944af25-49b7-48d0-9b47-57d2486c338c + position: {x: 1788, y: 1128} + nodeUIDs: + - a845992d-fd8e-45cf-853a-f8d1697fc50f|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: ca5e75a5-0c15-4bb1-a2dd-0a15c251487d + position: {x: 2376, y: 960} + nodeUIDs: + - 99f5519b-1711-452b-94f0-f40e55537be5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: f12f9ec9-62f1-4eef-b5b2-71e3c32fcaa1 + position: {x: 2376, y: 1044} + nodeUIDs: + - e2f58600-0e99-4705-9a11-0499fe5ca4e4|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineMathf.__RoundToInt__SystemSingle__SystemInt32 + uid: 3e427137-3998-448c-bca9-0a437ef5e3f4 + position: {x: 2376, y: 1128} + nodeUIDs: + - 8dfb6263-d407-442f-99a4-eb83b9e61b07|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_UnityEngineVector3 + uid: f9233c7f-8df2-486a-8686-b107c4755e81 + position: {x: 480, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.5,"y":0.5,"z":0.5} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|vector3Value + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: Variable_UnityEngineQuaternion + uid: 9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + position: {x: 672, y: -360} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.5,"y":0.5,"z":0.5,"w":0.5} + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|quaternionValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|smooth + - fullName: Set_Variable + uid: e64b6127-e8bc-422e-924e-7e35ce9bd1b0 + position: {x: 1128, y: 1032} + nodeUIDs: + - + - 8fa522c4-af45-4c5b-b48c-46d097454bfc|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fa2ebbef-574a-4160-852c-42cf5823381b + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_Variable + uid: 477584e5-5921-4100-88c4-711f55f7d4da + position: {x: 1128, y: 912} + nodeUIDs: + - + - c17d55b4-145c-409a-9a02-c1b705d7adbb|0 + flowUIDs: + - e64b6127-e8bc-422e-924e-7e35ce9bd1b0 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineRandom.__get_insideUnitSphere__UnityEngineVector3 + uid: 69ad1f86-3a2e-4bab-aa14-677d451ef95e + position: {x: 864, y: 828} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: UnityEngineRandom.__get_rotation__UnityEngineQuaternion + uid: c17d55b4-145c-409a-9a02-c1b705d7adbb + position: {x: 912, y: 948} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 45b123ee-21d6-42e1-b3e4-ef7424257a59 + position: {x: 1788, y: 552} + nodeUIDs: + - + - 8e256ba5-ff90-4d8f-b81d-82e1258a2cb5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|vector3: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 8e256ba5-ff90-4d8f-b81d-82e1258a2cb5 + position: {x: 1524, y: 588} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f9233c7f-8df2-486a-8686-b107c4755e81 + - fullName: SystemString.__Format__SystemString_SystemObject__SystemString + uid: 836ca888-ad0a-4a80-91c8-6ebbc60cbaf7 + position: {x: 1788, y: 660} + nodeUIDs: + - + - 4ad248bf-a080-41a0-a629-925ac9254e30|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|quaternion: {0} ' + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 4ad248bf-a080-41a0-a629-925ac9254e30 + position: {x: 1524, y: 696} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9ac1b6df-3a90-47ab-b4d5-8ed39c123b0c + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: 0, y: 0} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesSmooth.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesSmooth.asset.meta new file mode 100644 index 00000000..2b630524 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/SyncValueTypesSmooth.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1acedb947e4c9dc4d8f749557d611c1e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ToggleSync.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ToggleSync.asset new file mode 100644 index 00000000..b7600c96 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ToggleSync.asset @@ -0,0 +1,282 @@ +%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: ToggleSync + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: f7d3e7b73041d744fa4bc7621a7747d5, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export uiToggle\r\n .sync toggleValue, + none\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n __Boolean_1: %SystemBoolean, + null\r\n __Boolean_2: %SystemBoolean, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi, + null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_1: %VRCUdonUdonBehaviour, + this\r\n __symbolName_0: %SystemString, null\r\n __value_0: %SystemObject, + null\r\n __instance_0: %UnityEngineUIToggle, null\r\n __instance_2: %VRCUdonUdonBehaviour, + this\r\n __instance_3: %UnityEngineUIToggle, null\r\n __value_1: %SystemBoolean, + null\r\n __name_0: %SystemString, null\r\n uiToggle: %UnityEngineUIToggle, + null\r\n toggleValue: %SystemBoolean, null\r\n __returnValue: %SystemObject, + null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export OnValueChanged\r\n + \r\n OnValueChanged:\r\n \r\n PUSH, uiToggle\r\n PUSH, __instance_0\r\n + COPY\r\n PUSH, __instance_0\r\n PUSH, __Boolean_1\r\n EXTERN, + \"UnityEngineUIToggle.__get_isOn__SystemBoolean\"\r\n PUSH, __Boolean_1\r\n + PUSH, toggleValue\r\n PUSH, __Boolean_0\r\n EXTERN, \"SystemBoolean.__op_Inequality__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000E4\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, uiToggle\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, + __Boolean_1\r\n PUSH, __value_0\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __symbolName_0\r\n PUSH, __Boolean_1\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0x000000E4\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_toggleValue\r\n + \r\n _onVarChange_toggleValue:\r\n \r\n PUSH, uiToggle\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n PUSH, + toggleValue\r\n EXTERN, \"UnityEngineUIToggle.__set_isOn__SystemBoolean__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_UnityEngineUIToggle + uid: be512329-18e8-4ac0-acfe-35a4c18e11c4 + position: {x: 144, y: -720} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiToggle + - 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_SystemBoolean + uid: a48993e1-e5db-47cf-87f9-4c49228708a6 + position: {x: -408, y: -840} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - 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|toggleValue + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Get_Variable + uid: 0cb40eff-4fec-4eed-ba1d-89008fe8cf27 + position: {x: -690.8874, y: -257.57755} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|be512329-18e8-4ac0-acfe-35a4c18e11c4 + - fullName: Set_Variable + uid: 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c + position: {x: 263.78, y: -290.83466} + nodeUIDs: + - + - a5df33d8-196b-4676-a6e2-17e738e85255|0 + - + flowUIDs: + - 2047edc3-fc6e-4fcc-bb7c-764d203daf10 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a48993e1-e5db-47cf-87f9-4c49228708a6 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: UnityEngineUIToggle.__get_isOn__SystemBoolean + uid: a5df33d8-196b-4676-a6e2-17e738e85255 + position: {x: -523.3475, y: -249.76959} + nodeUIDs: + - 0cb40eff-4fec-4eed-ba1d-89008fe8cf27|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineUIToggle.__set_isOn__SystemBoolean__SystemVoid + uid: f59e1ddd-56f4-4e29-8969-474e698482c6 + position: {x: 166.17053, y: 94.02822} + nodeUIDs: + - 81776cde-eea5-4ecb-9a2d-ac3e8aaa8609|0 + - 203ac97f-80e8-4a1c-beb9-2ae570030813|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: Event_Custom + uid: 0e08b1cf-28e9-4023-9916-2acd91d7112f + position: {x: -685.685, y: -355.86963} + nodeUIDs: + - + flowUIDs: + - 26f1f7c3-9dee-4b74-b6a2-c41efe73a2c6 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: e7fb03eb-1a6a-4d36-a949-21152420d47f + position: {x: 130.555, y: -347.70215} + nodeUIDs: + - 454bc07a-b74b-40d6-9f1d-e3eeff692150|0 + - + flowUIDs: + - 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 454bc07a-b74b-40d6-9f1d-e3eeff692150 + position: {x: -45.47755, y: -278.11963} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 2047edc3-fc6e-4fcc-bb7c-764d203daf10 + position: {x: 429.54987, y: -285.54465} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemObject + uid: cd9c3fce-43e2-4b4f-adc8-46e56163a3d2 + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Event_OnVariableChange + uid: 203ac97f-80e8-4a1c-beb9-2ae570030813 + position: {x: -430.39948, y: 46.805} + nodeUIDs: + - + flowUIDs: + - f59e1ddd-56f4-4e29-8969-474e698482c6 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a48993e1-e5db-47cf-87f9-4c49228708a6 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 81776cde-eea5-4ecb-9a2d-ac3e8aaa8609 + position: {x: -390.39948, y: 206.80482} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|be512329-18e8-4ac0-acfe-35a4c18e11c4 + - fullName: Branch + uid: 26f1f7c3-9dee-4b74-b6a2-c41efe73a2c6 + position: {x: -203.99254, y: -347.7022} + nodeUIDs: + - 84c21bfa-be8b-43e4-aa7d-7fe2400d8b95|0 + flowUIDs: + - e7fb03eb-1a6a-4d36-a949-21152420d47f + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemBoolean.__op_Inequality__SystemBoolean_SystemBoolean__SystemBoolean + uid: 84c21bfa-be8b-43e4-aa7d-7fe2400d8b95 + position: {x: -361.34753, y: -168.51463} + nodeUIDs: + - a5df33d8-196b-4676-a6e2-17e738e85255|0 + - 1c9ec285-72f7-4e32-a233-e12629f99ad7|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: Get_Variable + uid: 1c9ec285-72f7-4e32-a233-e12629f99ad7 + position: {x: -556.9997, y: -146.16095} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a48993e1-e5db-47cf-87f9-4c49228708a6 + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: + - type: 5 + uid: c7717311-e6a1-47f3-83d8-8a1c2514b9cc + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":40.0,"y":76.0,"width":194.0,"height":237.0}}' + - type: 4 + uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + - type: 2 + uid: bd231431-cba7-4412-8b96-4b736331a3e5 + jsonData: '{"uid":"bd231431-cba7-4412-8b96-4b736331a3e5","layout":{"serializedVersion":"2","x":-455.39935302734377,"y":-17.195072174072267,"width":814.0,"height":332.0},"containedElements":["203ac97f-80e8-4a1c-beb9-2ae570030813","81776cde-eea5-4ecb-9a2d-ac3e8aaa8609","f59e1ddd-56f4-4e29-8969-474e698482c6","7a50f1b7-54b7-4dff-a47c-bfc1f636f92c","7b04f7e2-7296-4caa-a103-5811dd97e8d7","7543295c-c306-4589-9230-c224a14516d7"],"title":"This + change event triggered for each Player when the Synced var changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: e25196e3-3844-48ed-88a3-b8b6f9709516 + jsonData: '{"uid":"e25196e3-3844-48ed-88a3-b8b6f9709516","layout":{"serializedVersion":"2","x":-400.0,"y":-450.0,"width":1354.0,"height":434.0},"containedElements":["0cb40eff-4fec-4eed-ba1d-89008fe8cf27","89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c","a5df33d8-196b-4676-a6e2-17e738e85255","2047edc3-fc6e-4fcc-bb7c-764d203daf10","0e08b1cf-28e9-4023-9916-2acd91d7112f","e7fb03eb-1a6a-4d36-a949-21152420d47f","454bc07a-b74b-40d6-9f1d-e3eeff692150","2116f67d-4065-4215-99d7-d057bc1dd8fa","26f1f7c3-9dee-4b74-b6a2-c41efe73a2c6","84c21bfa-be8b-43e4-aa7d-7fe2400d8b95","1c9ec285-72f7-4e32-a233-e12629f99ad7","7a531c3f-2f21-4ae9-83a1-01c9768e1f84"],"title":"Become + Owner when you Change it, send the new Value","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 468.649, y: 578.1555} + scale: 0.7561437 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ToggleSync.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ToggleSync.asset.meta new file mode 100644 index 00000000..38544fe5 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/ToggleSync.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b2329c06350f6d24ea49bc2842c81e99 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UdonSyncPlayer.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UdonSyncPlayer.asset new file mode 100644 index 00000000..ee4642a2 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UdonSyncPlayer.asset @@ -0,0 +1,868 @@ +%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: UdonSyncPlayer + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 9bdb45f3181126c49bbda1babeb43af8, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export player\r\n .export urlInputField\r\n + .export syncFrequency\r\n .export allowGuestControl\r\n .sync url, none\r\n + .sync timeAndOffset, none\r\n \r\n __object_0: %SystemObject, null\r\n + __result_0: %SystemBoolean, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi, + null\r\n __obj_0: %UnityEngineGameObject, this\r\n __object_1: %SystemObject, + null\r\n __result_1: %SystemBoolean, null\r\n __instance_0: %VRCUdonUdonBehaviour, + this\r\n __symbolName_0: %SystemString, null\r\n __value_0: %SystemObject, + null\r\n __instance_1: %VRCSDK3ComponentsVRCUrlInputField, null\r\n __instance_2: + %VRCUdonUdonBehaviour, this\r\n __object_2: %SystemObject, null\r\n __result_2: + %SystemBoolean, null\r\n __instance_3: %VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer, + null\r\n __url_0: %VRCSDKBaseVRCUrl, null\r\n __name_0: %SystemString, + null\r\n __instance_4: %VRCUdonUdonBehaviour, this\r\n __eventName_0: %SystemString, + null\r\n __Boolean_0: %SystemBoolean, null\r\n __obj_1: %UnityEngineGameObject, + this\r\n __object_3: %SystemObject, null\r\n __result_3: %SystemBoolean, + null\r\n __instance_5: %VRCUdonUdonBehaviour, this\r\n __symbolName_1: + %SystemString, null\r\n __value_1: %SystemObject, null\r\n __Single_0: + %SystemSingle, null\r\n __Single_1: %SystemSingle, null\r\n __instance_6: + %VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer, null\r\n __value_2: %SystemDouble, + null\r\n __instance_7: %VRCUdonUdonBehaviour, this\r\n __Boolean_1: %SystemBoolean, + null\r\n __Single_2: %SystemSingle, null\r\n __Single_3: %SystemSingle, + null\r\n __instance_8: %VRCUdonUdonBehaviour, this\r\n __eventName_1: %SystemString, + null\r\n __delaySeconds_0: %SystemSingle, null\r\n __eventTiming_0: %VRCUdonCommonEnumsEventTiming, + null\r\n __instance_9: %VRCUdonUdonBehaviour, this\r\n __eventName_2: %SystemString, + null\r\n __Boolean_2: %SystemBoolean, null\r\n __obj_2: %UnityEngineGameObject, + this\r\n __instance_A: %VRCUdonUdonBehaviour, this\r\n __eventName_3: %SystemString, + null\r\n __object_4: %SystemObject, null\r\n __result_4: %SystemBoolean, + null\r\n __instance_B: %VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer, null\r\n + __value_3: %SystemSingle, null\r\n __Single_4: %SystemSingle, null\r\n + __Single_5: %SystemSingle, null\r\n __Vector2_0: %UnityEngineVector2, null\r\n + __Single_6: %SystemSingle, null\r\n __Single_7: %SystemSingle, null\r\n + __value_4: %SystemDouble, null\r\n __Vector2_1: %UnityEngineVector2, null\r\n + player: %VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer, null\r\n url: %VRCSDKBaseVRCUrl, + null\r\n urlInputField: %VRCSDK3ComponentsVRCUrlInputField, null\r\n timeAndOffset: + %UnityEngineVector2, null\r\n syncFrequency: %SystemSingle, null\r\n allowGuestControl: + %SystemBoolean, null\r\n __returnValue: %SystemObject, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n + .export OnURLChanged\r\n \r\n OnURLChanged:\r\n \r\n PUSH, __object_0\r\n + EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __object_0\r\n PUSH, __result_0\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_0\r\n JUMP_IF_FALSE, 0x0000010C\r\n PUSH, __object_0\r\n + PUSH, __player_0\r\n COPY\r\n PUSH, __object_0\r\n PUSH, + __obj_0\r\n EXTERN, \"VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid\"\r\n + PUSH, urlInputField\r\n PUSH, __object_1\r\n COPY\r\n PUSH, + __object_1\r\n PUSH, __result_1\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_1\r\n JUMP_IF_FALSE, 0x00000104\r\n PUSH, urlInputField\r\n + PUSH, __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n PUSH, + __value_0\r\n EXTERN, \"VRCSDK3ComponentsVRCUrlInputField.__GetUrl__VRCSDKBaseVRCUrl\"\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_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + JUMP, 0x00000104\r\n JUMP, 0x0000010C\r\n JUMP, 0xFFFFFFFC\r\n + \r\n .export _onVarChange_url\r\n \r\n _onVarChange_url:\r\n \r\n + PUSH, player\r\n PUSH, __object_2\r\n COPY\r\n PUSH, __object_2\r\n + PUSH, __result_2\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_2\r\n JUMP_IF_FALSE, 0x00000184\r\n PUSH, player\r\n + PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n PUSH, + url\r\n EXTERN, \"VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer.__PlayURL__VRCSDKBaseVRCUrl__SystemVoid\"\r\n + JUMP, 0x00000184\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVideoStart\r\n + \r\n _onVideoStart:\r\n \r\n PUSH, __instance_4\r\n PUSH, + __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export UpdateTimeAndOffset\r\n \r\n UpdateTimeAndOffset:\r\n + \r\n PUSH, __obj_1\r\n PUSH, __Boolean_0\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000324\r\n PUSH, player\r\n + PUSH, __object_3\r\n COPY\r\n PUSH, __object_3\r\n PUSH, + __result_3\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_3\r\n JUMP_IF_FALSE, 0x0000031C\r\n PUSH, player\r\n + PUSH, __instance_6\r\n COPY\r\n PUSH, __instance_6\r\n PUSH, + __Single_0\r\n EXTERN, \"VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer.__GetTime__SystemSingle\"\r\n + PUSH, __value_2\r\n EXTERN, \"VRCSDKBaseNetworking.__GetServerTimeInSeconds__SystemDouble\"\r\n + PUSH, __value_2\r\n PUSH, __Single_1\r\n EXTERN, \"SystemConvert.__ToSingle__SystemDouble__SystemSingle\"\r\n + PUSH, __Single_0\r\n PUSH, __Single_1\r\n PUSH, __value_1\r\n + EXTERN, \"UnityEngineVector2.__ctor__SystemSingle_SystemSingle__UnityEngineVector2\"\r\n + PUSH, __instance_5\r\n PUSH, __symbolName_1\r\n PUSH, __value_1\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n + PUSH, __instance_7\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n + PUSH, syncFrequency\r\n PUSH, __Single_3\r\n PUSH, __Boolean_1\r\n + EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n + PUSH, __Boolean_1\r\n JUMP_IF_FALSE, 0x00000314\r\n PUSH, __instance_8\r\n + PUSH, __eventName_1\r\n PUSH, syncFrequency\r\n PUSH, __eventTiming_0\r\n + EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEventDelayedSeconds__SystemString_SystemSingle_VRCUdonCommonEnumsEventTiming__SystemVoid\"\r\n + JUMP, 0x00000314\r\n JUMP, 0x0000031C\r\n JUMP, 0x0000033C\r\n + PUSH, __instance_9\r\n PUSH, __eventName_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_timeAndOffset\r\n \r\n + _onVarChange_timeAndOffset:\r\n \r\n PUSH, __obj_2\r\n PUSH, + __Boolean_2\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n + PUSH, __Boolean_2\r\n JUMP_IF_FALSE, 0x00000374\r\n JUMP, 0x0000038C\r\n + PUSH, __instance_A\r\n PUSH, __eventName_3\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n .export Resync\r\n \r\n Resync:\r\n + \r\n PUSH, player\r\n PUSH, __object_4\r\n COPY\r\n + PUSH, __object_4\r\n PUSH, __result_4\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n + PUSH, __result_4\r\n JUMP_IF_FALSE, 0x0000049C\r\n PUSH, player\r\n + PUSH, __instance_B\r\n COPY\r\n PUSH, timeAndOffset\r\n + PUSH, __Single_4\r\n EXTERN, \"UnityEngineVector2.__get_x__SystemSingle\"\r\n + PUSH, __value_4\r\n EXTERN, \"VRCSDKBaseNetworking.__GetServerTimeInSeconds__SystemDouble\"\r\n + PUSH, __value_4\r\n PUSH, __Single_6\r\n EXTERN, \"SystemConvert.__ToSingle__SystemDouble__SystemSingle\"\r\n + PUSH, timeAndOffset\r\n PUSH, __Single_7\r\n EXTERN, \"UnityEngineVector2.__get_y__SystemSingle\"\r\n + PUSH, __Single_6\r\n PUSH, __Single_7\r\n PUSH, __Single_5\r\n + EXTERN, \"SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __Single_4\r\n PUSH, __Single_5\r\n PUSH, __value_3\r\n + EXTERN, \"SystemSingle.__op_Addition__SystemSingle_SystemSingle__SystemSingle\"\r\n + PUSH, __instance_B\r\n PUSH, __value_3\r\n EXTERN, \"VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer.__SetTime__SystemSingle__SystemVoid\"\r\n + JUMP, 0x0000049C\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onOwnershipRequest\r\n + \r\n _onOwnershipRequest:\r\n \r\n PUSH, allowGuestControl\r\n + PUSH, __returnValue\r\n COPY\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer + uid: 889e4a87-efa9-4fe8-898c-d2cb611eb9b1 + 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|player + - 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_Custom + uid: 543e760e-9d50-428a-8924-422eae866924 + position: {x: 440, y: 390} + nodeUIDs: + - + flowUIDs: + - e1ebecff-e624-42d3-ad38-288fd0160867 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnURLChanged + - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid + uid: 6cbeeee0-93a6-4c23-a041-8447bc657c1e + position: {x: 810, y: 500} + nodeUIDs: + - df312ecb-3094-4b1e-8418-f94fc6bf7d1a|0 + - + flowUIDs: + - 37de86c1-265b-4dad-b6ff-a1fb2b5de27c + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: df312ecb-3094-4b1e-8418-f94fc6bf7d1a + position: {x: 470, y: 520} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Is_Valid + uid: e1ebecff-e624-42d3-ad38-288fd0160867 + position: {x: 650, y: 440} + nodeUIDs: + - df312ecb-3094-4b1e-8418-f94fc6bf7d1a|0 + flowUIDs: + - 6cbeeee0-93a6-4c23-a041-8447bc657c1e + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_VRCSDKBaseVRCUrl + uid: 7df0f501-a421-422d-ab0b-5d549abd179e + 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|url + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Variable_VRCSDK3ComponentsVRCUrlInputField + uid: 514f728d-38ca-4522-90fb-0c140a9e76f0 + 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|urlInputField + - 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: 46aa5a6d-2e78-4e13-bbc9-bf870a480326 + position: {x: 680, y: 650} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|514f728d-38ca-4522-90fb-0c140a9e76f0 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Is_Valid + uid: 37de86c1-265b-4dad-b6ff-a1fb2b5de27c + position: {x: 950, y: 590} + nodeUIDs: + - 46aa5a6d-2e78-4e13-bbc9-bf870a480326|0 + flowUIDs: + - 5dcb6ce5-cc96-49bc-b77a-216424b52a18 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDK3ComponentsVRCUrlInputField.__GetUrl__VRCSDKBaseVRCUrl + uid: 25ffb9a2-e843-43cf-848d-df5d164d7f4f + position: {x: 950, y: 720} + nodeUIDs: + - 46aa5a6d-2e78-4e13-bbc9-bf870a480326|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnVariableChange + uid: 3a520908-55d8-42a8-91ac-63c691cbfd8e + position: {x: 430, y: 930} + nodeUIDs: + - + flowUIDs: + - 2336b941-1423-43ad-92cb-dda0b8647bc3 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|7df0f501-a421-422d-ab0b-5d549abd179e + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Get_Variable + uid: 9176fb46-48a4-443e-93a1-ee5d15525fe6 + position: {x: 350, y: 1080} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|889e4a87-efa9-4fe8-898c-d2cb611eb9b1 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Is_Valid + uid: 2336b941-1423-43ad-92cb-dda0b8647bc3 + position: {x: 630, y: 1000} + nodeUIDs: + - 9176fb46-48a4-443e-93a1-ee5d15525fe6|0 + flowUIDs: + - 01358302-1be5-4815-9ae9-4f7c1280cf41 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer.__PlayURL__VRCSDKBaseVRCUrl__SystemVoid + uid: 01358302-1be5-4815-9ae9-4f7c1280cf41 + position: {x: 800, y: 1030} + nodeUIDs: + - 9176fb46-48a4-443e-93a1-ee5d15525fe6|0 + - 3a520908-55d8-42a8-91ac-63c691cbfd8e|0 + flowUIDs: + - + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: 15983502-7611-4209-82bd-028bf6bcb6be + position: {x: 1370, y: 580} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnVideoStart + uid: 4028997a-5c1c-4f29-bccc-d50fce38b36b + position: {x: 1020, y: 930} + nodeUIDs: [] + flowUIDs: + - fb58f9fb-c95b-4612-8443-b43810401aa1 + nodeValues: [] + - fullName: Variable_UnityEngineVector2 + uid: 15096c5a-7504-45cc-b981-4261600b8a48 + 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|timeAndOffset + - 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|True + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + - fullName: Set_Variable + uid: 31c0f231-eebf-4c8f-95bc-a6a7f6f0f5ee + position: {x: 1330, y: 1330} + nodeUIDs: + - + - 20dbce38-fcd9-4cc3-abc5-fc74805336cd|0 + - + flowUIDs: + - a9dc5c25-92ea-4522-8a06-fd2f46578882 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|15096c5a-7504-45cc-b981-4261600b8a48 + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|True + - fullName: UnityEngineVector2.__ctor__SystemSingle_SystemSingle__UnityEngineVector2 + uid: 20dbce38-fcd9-4cc3-abc5-fc74805336cd + position: {x: 1170, y: 1530} + nodeUIDs: + - 04e64448-3d10-4d08-92bf-c274ee3ff66e|0 + - b804a6dc-9821-4760-ab57-1c5009808cc7|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCSDKBaseNetworking.__GetServerTimeInSeconds__SystemDouble + uid: 75173c2f-5432-4875-99ae-3f23a6a57b14 + position: {x: 710, y: 1620} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: SystemConvert.__ToSingle__SystemDouble__SystemSingle + uid: b804a6dc-9821-4760-ab57-1c5009808cc7 + position: {x: 970, y: 1610} + nodeUIDs: + - 75173c2f-5432-4875-99ae-3f23a6a57b14|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: fb58f9fb-c95b-4612-8443-b43810401aa1 + position: {x: 1200, y: 930} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|UpdateTimeAndOffset + - fullName: Event_Custom + uid: 08e97ecc-3521-4367-a0c7-cd2bb125797d + position: {x: 60, y: 1280} + nodeUIDs: + - + flowUIDs: + - ee3740c2-09fa-4eed-ae8e-2dc29c7d574e + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|UpdateTimeAndOffset + - fullName: Get_Variable + uid: f7823daf-f24d-4fcb-b479-5721e42712ba + position: {x: 710, y: 1420} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|889e4a87-efa9-4fe8-898c-d2cb611eb9b1 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Is_Valid + uid: 99826265-0a6b-4b9f-a7b6-14bcdf4a47da + position: {x: 1140, y: 1340} + nodeUIDs: + - f7823daf-f24d-4fcb-b479-5721e42712ba|0 + flowUIDs: + - 31c0f231-eebf-4c8f-95bc-a6a7f6f0f5ee + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer.__GetTime__SystemSingle + uid: 04e64448-3d10-4d08-92bf-c274ee3ff66e + position: {x: 950, y: 1500} + nodeUIDs: + - f7823daf-f24d-4fcb-b479-5721e42712ba|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_OnVariableChange + uid: f66b6738-fb14-4236-8c50-f60fadfdb2db + position: {x: 70, y: 1810} + nodeUIDs: + - + flowUIDs: + - 319f58fe-a23c-4297-96ca-24fee3cc1101 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|15096c5a-7504-45cc-b981-4261600b8a48 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid + uid: a9dc5c25-92ea-4522-8a06-fd2f46578882 + position: {x: 1540, y: 1330} + nodeUIDs: + - + flowUIDs: + - bf55c759-a6b0-4f9e-af84-a584335f3c96 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 248b6800-d8fa-4a71-b7c1-f1c8ade2674e + position: {x: 730, y: 1840} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Resync + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: 8e8f2ac2-efe7-4e30-88c2-5e6fee288bd2 + position: {x: 330, y: 1890} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: 319f58fe-a23c-4297-96ca-24fee3cc1101 + position: {x: 530, y: 1820} + nodeUIDs: + - 8e8f2ac2-efe7-4e30-88c2-5e6fee288bd2 + flowUIDs: + - + - 248b6800-d8fa-4a71-b7c1-f1c8ade2674e + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Event_Custom + uid: 89a6fece-99aa-47af-873c-e334fbdec965 + position: {x: 1010, y: 1820} + nodeUIDs: + - + flowUIDs: + - db5c6c88-9985-4504-ab1d-a569d42d0826 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Resync + - fullName: VRCSDKBaseNetworking.__GetServerTimeInSeconds__SystemDouble + uid: f991ee74-ed0d-4c62-9043-e59faa57cc29 + position: {x: 1110, y: 2180} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Get_Variable + uid: c9af2abe-a6a3-46ed-82a1-b38acdc4bdc5 + position: {x: 1170, y: 1960} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|15096c5a-7504-45cc-b981-4261600b8a48 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineVector2.__get_x__SystemSingle + uid: c82d2608-cb27-4927-ae27-c898d0bf1142 + position: {x: 1390, y: 1920} + nodeUIDs: + - c9af2abe-a6a3-46ed-82a1-b38acdc4bdc5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector2, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0} + - fullName: UnityEngineVector2.__get_y__SystemSingle + uid: dffae964-28ed-4e47-9d95-1196b0f9e497 + position: {x: 1390, y: 2030} + nodeUIDs: + - c9af2abe-a6a3-46ed-82a1-b38acdc4bdc5|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector2, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0} + - fullName: SystemConvert.__ToSingle__SystemDouble__SystemSingle + uid: e804d616-6ba3-4c11-8242-4ba89cf7e4f5 + position: {x: 1360, y: 2160} + nodeUIDs: + - f991ee74-ed0d-4c62-9043-e59faa57cc29|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle + uid: 10ffdc93-bd47-4ec4-bbb5-1e4697c9e628 + position: {x: 1560, y: 2160} + nodeUIDs: + - e804d616-6ba3-4c11-8242-4ba89cf7e4f5|0 + - dffae964-28ed-4e47-9d95-1196b0f9e497|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: SystemSingle.__op_Addition__SystemSingle_SystemSingle__SystemSingle + uid: 45316927-bf50-4a4d-acd9-75e9103a5770 + position: {x: 1780, y: 2050} + nodeUIDs: + - c82d2608-cb27-4927-ae27-c898d0bf1142|0 + - 10ffdc93-bd47-4ec4-bbb5-1e4697c9e628|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Get_Variable + uid: 390d2918-4f94-4c21-bc3d-7465fee10c52 + position: {x: 1770, y: 1950} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|889e4a87-efa9-4fe8-898c-d2cb611eb9b1 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Is_Valid + uid: db5c6c88-9985-4504-ab1d-a569d42d0826 + position: {x: 2000, y: 1820} + nodeUIDs: + - 390d2918-4f94-4c21-bc3d-7465fee10c52|0 + flowUIDs: + - 092f0b57-f40c-4dc9-9ffc-ff79fae4c14e + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDK3VideoComponentsBaseBaseVRCVideoPlayer.__SetTime__SystemSingle__SystemVoid + uid: 092f0b57-f40c-4dc9-9ffc-ff79fae4c14e + position: {x: 2150, y: 1920} + nodeUIDs: + - 390d2918-4f94-4c21-bc3d-7465fee10c52|0 + - 45316927-bf50-4a4d-acd9-75e9103a5770|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEventDelayedSeconds__SystemString_SystemSingle_VRCUdonCommonEnumsEventTiming__SystemVoid + uid: abe677d8-4660-4433-b85e-f8b171e9e588 + position: {x: 2390, y: 1310} + nodeUIDs: + - + - + - 8642d4b0-a902-4738-a172-cc4f761412b0|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|UpdateTimeAndOffset + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: VRC.Udon.Common.Enums.EventTiming, VRC.Udon.Common, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null|Update + - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean + uid: af742d6d-4fc6-43c5-a596-b096de726d7a + position: {x: 120, y: 1410} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Branch + uid: ee3740c2-09fa-4eed-ae8e-2dc29c7d574e + position: {x: 320, y: 1340} + nodeUIDs: + - af742d6d-4fc6-43c5-a596-b096de726d7a + flowUIDs: + - 99826265-0a6b-4b9f-a7b6-14bcdf4a47da + - 6041cad5-6eb8-4db4-83bf-d447f6383528 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid + uid: 6041cad5-6eb8-4db4-83bf-d447f6383528 + position: {x: 490, y: 1530} + nodeUIDs: + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Resync + - fullName: Variable_SystemSingle + uid: 254d9c3b-94ed-480e-9167-e5c2f6f733d6 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|15 + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|syncFrequency + - 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: 8642d4b0-a902-4738-a172-cc4f761412b0 + position: {x: 1820, y: 1480} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|254d9c3b-94ed-480e-9167-e5c2f6f733d6 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid + uid: 5dcb6ce5-cc96-49bc-b77a-216424b52a18 + position: {x: 1140, y: 580} + nodeUIDs: + - + - + - 25ffb9a2-e843-43cf-848d-df5d164d7f4f|0 + flowUIDs: + - 15983502-7611-4209-82bd-028bf6bcb6be + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|url + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean + uid: bcc9bad3-b88e-4997-95d6-6092e1ae6ba8 + position: {x: 2030, y: 1560} + nodeUIDs: + - 8642d4b0-a902-4738-a172-cc4f761412b0|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - unityObjectValue: {fileID: 0} + stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0 + - fullName: Branch + uid: bf55c759-a6b0-4f9e-af84-a584335f3c96 + position: {x: 2210, y: 1320} + nodeUIDs: + - bcc9bad3-b88e-4997-95d6-6092e1ae6ba8|0 + flowUIDs: + - abe677d8-4660-4433-b85e-f8b171e9e588 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Variable_SystemBoolean + uid: 6844460a-f904-40b1-9e9a-6ef835f9a910 + position: {x: 0, y: 0} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - 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|allowGuestControl + - 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_OnOwnershipRequest + uid: 8e01d6cb-f182-4f7b-955a-715079e2a392 + position: {x: 1840, y: 950} + nodeUIDs: [] + flowUIDs: + - 8f46e525-153b-4b02-a136-8d7475790e43 + nodeValues: [] + - fullName: Get_Variable + uid: 2d7db82f-8037-4bf6-86ca-cc25d3b23971 + position: {x: 1850, y: 1100} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6844460a-f904-40b1-9e9a-6ef835f9a910 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Set_ReturnValue + uid: 8f46e525-153b-4b02-a136-8d7475790e43 + position: {x: 2090, y: 1000} + nodeUIDs: + - + - 2d7db82f-8037-4bf6-86ca-cc25d3b23971|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|e22bcdda-04ea-478e-9b5f-e628893146ec + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Variable_SystemObject + uid: e22bcdda-04ea-478e-9b5f-e628893146ec + 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|__returnValue + - 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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none + updateOrder: 0 + graphElementData: + - type: 5 + uid: fd0e3013-9624-4304-b0cf-7aa45018a2be + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":370.0,"y":34.0,"width":260.0,"height":235.0}}' + - type: 2 + uid: bf9d7ba8-90f9-4904-ac2e-30c226319342 + jsonData: '{"uid":"bf9d7ba8-90f9-4904-ac2e-30c226319342","layout":{"serializedVersion":"2","x":415.0,"y":332.0,"width":1192.0,"height":492.0},"containedElements":["543e760e-9d50-428a-8924-422eae866924","6cbeeee0-93a6-4c23-a041-8447bc657c1e","df312ecb-3094-4b1e-8418-f94fc6bf7d1a","e1ebecff-e624-42d3-ad38-288fd0160867","46aa5a6d-2e78-4e13-bbc9-bf870a480326","37de86c1-265b-4dad-b6ff-a1fb2b5de27c","25ffb9a2-e843-43cf-848d-df5d164d7f4f","42bcf020-4ce2-4a4a-a9bd-14926feae45b","15983502-7611-4209-82bd-028bf6bcb6be","5dcb6ce5-cc96-49bc-b77a-216424b52a18"],"title":"When + URL Field Changed, Become Owner and update synced URL","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 44e7d719-6d87-4e38-bf02-b286926f0b4b + jsonData: '{"uid":"44e7d719-6d87-4e38-bf02-b286926f0b4b","layout":{"serializedVersion":"2","x":324.0000915527344,"y":867.0000610351563,"width":654.0,"height":323.0},"containedElements":["3a520908-55d8-42a8-91ac-63c691cbfd8e","9176fb46-48a4-443e-93a1-ee5d15525fe6","2336b941-1423-43ad-92cb-dda0b8647bc3","01358302-1be5-4815-9ae9-4f7c1280cf41","e04f3b68-a27a-4199-a641-952549582a9b","8856c4bf-2b2c-40e1-87ed-75c60f5e8976","fdcc48f9-0685-4888-9d26-35387a2a7b98","4333c246-d46f-410c-982a-8e9fff66b112","8e534117-89e9-48e0-82d0-9488dbeeb41a","b228fa35-65f6-4b91-8603-723a551071be","bd65c239-19ca-492b-aa7a-0816d911cb91","e01ec802-8034-4c81-8343-d9a37c4a3a2b"],"title":"Play + URL when it Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 751bae30-b3bb-44b9-8968-dfd1acf282df + jsonData: '{"uid":"751bae30-b3bb-44b9-8968-dfd1acf282df","layout":{"serializedVersion":"2","x":38.99996566772461,"y":1225.0001220703125,"width":2535.0,"height":509.0},"containedElements":["20dbce38-fcd9-4cc3-abc5-fc74805336cd","99826265-0a6b-4b9f-a7b6-14bcdf4a47da","b804a6dc-9821-4760-ab57-1c5009808cc7","75173c2f-5432-4875-99ae-3f23a6a57b14","f7823daf-f24d-4fcb-b479-5721e42712ba","08e97ecc-3521-4367-a0c7-cd2bb125797d","04e64448-3d10-4d08-92bf-c274ee3ff66e","31c0f231-eebf-4c8f-95bc-a6a7f6f0f5ee","a9dc5c25-92ea-4522-8a06-fd2f46578882","1b790e6a-99d4-49cd-9fb7-f209167c5481","8b0a41d3-c0fe-4b8c-8e1d-6987f618e960","6725fcdb-a3c1-400f-a25f-4b1677a12120","3dd9de6a-224a-4314-9ab7-852544ed621a","ee3740c2-09fa-4eed-ae8e-2dc29c7d574e","af742d6d-4fc6-43c5-a596-b096de726d7a","6041cad5-6eb8-4db4-83bf-d447f6383528","17be277e-4326-40b8-8578-51e875a1ad68","39bee858-7d2f-4280-a5ac-3d9b7d31264e","e643e060-529b-434c-ae3b-23d89e357bae","864b7109-5845-4393-8972-980ec4cd1b36","a64bb05e-8170-40c6-a4d8-a8d80bd80bde","e16108f0-a6aa-4a54-9ffe-86cf90aff23c","98ba8762-bde6-4226-8320-2610baccdb2b"],"title":"Update + timeAndOffset variable, used to sync video time","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 223c370a-f79e-45d4-8eac-2c5ce1e29573 + jsonData: '{"uid":"223c370a-f79e-45d4-8eac-2c5ce1e29573","layout":{"serializedVersion":"2","x":996.999755859375,"y":869.0000610351563,"width":723.0,"height":215.0},"containedElements":["4028997a-5c1c-4f29-bccc-d50fce38b36b","d6d3e74e-eb0e-4681-ab3a-4b69b6d103d3","0d84320b-9ff9-412d-a493-411f174689cf","92804607-9de7-4ae2-96ef-fb67d0f2ca85","401c1b3d-0bc1-4f1d-9c90-33e0a5766160","fb58f9fb-c95b-4612-8443-b43810401aa1","92b374cc-08e8-4a88-b110-5877ccc1ce83","4ba4061a-5d31-4eab-a940-0980ead0e838","84fabad2-283d-4fee-b0b4-93f9f314047d","98f9b58f-1a8b-486a-a6fa-8194df47fab7","b3527745-d1dc-4169-a362-3b2a799d7ff4","197d0805-895a-44a0-aca6-c433654543fc","ce53db11-e827-4a87-b31d-c6e7c60c067d","29f99399-21dd-4193-8202-d010e510a77e"],"title":"On + Video Start, Update Offset on Owner, Resync on Others","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 2a97ea5c-c8b2-405f-9016-6ed4c84da13f + jsonData: '{"uid":"2a97ea5c-c8b2-405f-9016-6ed4c84da13f","layout":{"serializedVersion":"2","x":45.0,"y":1752.9998779296875,"width":931.0,"height":264.0},"containedElements":["8e8f2ac2-efe7-4e30-88c2-5e6fee288bd2","319f58fe-a23c-4297-96ca-24fee3cc1101","f66b6738-fb14-4236-8c50-f60fadfdb2db","248b6800-d8fa-4a71-b7c1-f1c8ade2674e"],"title":"When + offset changes on non-owners, run Resync","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 8b943edb-75f9-4c96-98f6-10a8d85c317e + jsonData: '{"uid":"8b943edb-75f9-4c96-98f6-10a8d85c317e","layout":{"serializedVersion":"2","x":1548.711181640625,"y":1916.928466796875,"width":191.25,"height":40.00000762939453},"title":"x + is video time","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 321211c6-28d6-4394-9f04-c9c7347441ef + jsonData: '{"uid":"321211c6-28d6-4394-9f04-c9c7347441ef","layout":{"serializedVersion":"2","x":1544.9521484375,"y":2027.0081787109375,"width":190.10003662109376,"height":40.0000114440918},"title":"y + is serverTime","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 3 + uid: 074ef3f6-d6f5-48aa-b498-317800706661 + jsonData: '{"uid":"074ef3f6-d6f5-48aa-b498-317800706661","layout":{"serializedVersion":"2","x":2065.19677734375,"y":2063.96875,"width":213.21739196777345,"height":63.47826385498047},"title":"set + video time to owner time + offset","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: ce59ddd1-7860-42d4-b084-fd8bbb0ec929 + jsonData: '{"uid":"ce59ddd1-7860-42d4-b084-fd8bbb0ec929","layout":{"serializedVersion":"2","x":986.0,"y":1759.0,"width":1333.0,"height":529.0},"containedElements":["89a6fece-99aa-47af-873c-e334fbdec965","c9af2abe-a6a3-46ed-82a1-b38acdc4bdc5","c82d2608-cb27-4927-ae27-c898d0bf1142","dffae964-28ed-4e47-9d95-1196b0f9e497","8b943edb-75f9-4c96-98f6-10a8d85c317e","321211c6-28d6-4394-9f04-c9c7347441ef","10ffdc93-bd47-4ec4-bbb5-1e4697c9e628","f991ee74-ed0d-4c62-9043-e59faa57cc29","e804d616-6ba3-4c11-8242-4ba89cf7e4f5","db5c6c88-9985-4504-ab1d-a569d42d0826","390d2918-4f94-4c21-bc3d-7465fee10c52","092f0b57-f40c-4dc9-9ffc-ff79fae4c14e","45316927-bf50-4a4d-acd9-75e9103a5770","074ef3f6-d6f5-48aa-b498-317800706661"],"title":"On + Non-Owners, set the video time to the owner''s time plus the difference in + server time","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: 6e7635c9-8bf5-4741-a837-0e488e3918f6 + jsonData: '{"uid":"6e7635c9-8bf5-4741-a837-0e488e3918f6","layout":{"serializedVersion":"2","x":1795.0001220703125,"y":1256.0001220703125,"width":940.0,"height":439.0},"containedElements":["abe677d8-4660-4433-b85e-f8b171e9e588","8642d4b0-a902-4738-a172-cc4f761412b0","bcc9bad3-b88e-4997-95d6-6092e1ae6ba8","bf55c759-a6b0-4f9e-af84-a584335f3c96"],"title":"Sync + again in syncFrequency seconds if > 0","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + - type: 2 + uid: c4324c30-684e-4557-8811-81c06b24e746 + jsonData: '{"uid":"c4324c30-684e-4557-8811-81c06b24e746","layout":{"serializedVersion":"2","x":1812.0001220703125,"y":908.0000610351563,"width":486.0,"height":312.0},"containedElements":["8f46e525-153b-4b02-a136-8d7475790e43","8e01d6cb-f182-4f7b-955a-715079e2a392","2d7db82f-8037-4bf6-86ca-cc25d3b23971"],"title":"Enable + / Disable Guest Control","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}' + viewTransform: + position: {x: 383.33334, y: -184.66667} + scale: 0.64672804 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UdonSyncPlayer.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UdonSyncPlayer.asset.meta new file mode 100644 index 00000000..fbdb8e5f --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UdonSyncPlayer.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: db6380e7c98d9e94bb856b1e1b1cf56c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UseStationOnInteract.asset b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UseStationOnInteract.asset new file mode 100644 index 00000000..fc8c2125 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UseStationOnInteract.asset @@ -0,0 +1,55 @@ +%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: UseStationOnInteract + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 0e13931970e04d04493feea10a2cce09, + type: 2} + udonAssembly: ".data_start\r\n\r\n \r\n __instance_0: %VRCSDKBaseVRCPlayerApi, + 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, __instance_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n + PUSH, __instance_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__UseAttachedStation__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 7e192239-fea8-49dc-8d4e-60cba03043bf + position: {x: 588, y: 36} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + - fullName: Event_Interact + uid: f15f7288-a517-4d6b-a54f-028d6d4615ac + position: {x: 696, y: -72} + nodeUIDs: [] + flowUIDs: + - 884840fe-5e09-4c15-95dd-6cbc8cbba62b + nodeValues: [] + - fullName: VRCSDKBaseVRCPlayerApi.__UseAttachedStation__SystemVoid + uid: 884840fe-5e09-4c15-95dd-6cbc8cbba62b + position: {x: 840, y: -24} + nodeUIDs: + - 7e192239-fea8-49dc-8d4e-60cba03043bf|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: 0, y: 0} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UseStationOnInteract.asset.meta b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UseStationOnInteract.asset.meta new file mode 100644 index 00000000..61bdef50 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRChat Examples/UdonProgramSources/UseStationOnInteract.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 68d999abd6627d04999b5bebe2438687 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: |