%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: fa680589747959548bfe842ea6c5650e, 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 __instance_2: %UnityEngineVector3, null\r\n __instance_5: %UnityEngineVector3, null\r\n __instance_3: %VRCSDKBaseVRCPlayerApiTrackingData, null\r\n __instance_4: %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_4\r\n COPY\r\n PUSH, __Object_0\r\n PUSH, __tt_0\r\n PUSH, __instance_3\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__GetTrackingData__VRCSDKBaseVRCPlayerApiTrackingDataType__VRCSDKBaseVRCPlayerApiTrackingData\"\r\n PUSH, __instance_3\r\n PUSH, __instance_2\r\n EXTERN, \"VRCSDKBaseVRCPlayerApiTrackingData.__get_position__UnityEngineVector3\"\r\n PUSH, __instance_2\r\n PUSH, __Single_0\r\n EXTERN, \"UnityEngineVector3.__get_x__SystemSingle\"\r\n PUSH, __Object_0\r\n PUSH, __instance_4\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, __instance_5\r\n COPY\r\n PUSH, __instance_2\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