%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: NPC Step Program m_EditorClassIdentifier: serializedUdonProgramAsset: {fileID: 11400000, guid: efa643e1c9dd4c346b616ea40ee76a73, type: 2} udonAssembly: ".data_start\r\n\r\n .export rigidbody\r\n .export pickup\r\n .export surface\r\n \r\n __instance_0: %UnityEngineRigidbody, null\r\n __value_0: %SystemBoolean, null\r\n __instance_1: %VRCUdonUdonBehaviour, this\r\n __target_0: %VRCUdonCommonInterfacesNetworkEventTarget, null\r\n __eventName_0: %SystemString, null\r\n __instance_2: %UnityAINavigationNavMeshSurface, null\r\n __Boolean_0: %SystemBoolean, null\r\n __instance_3: %VRCSDK3ComponentsVRCPickup, null\r\n __instance_4: %UnityEngineRigidbody, null\r\n __value_1: %UnityEngineQuaternion, null\r\n __instance_5: %UnityEngineRigidbody, null\r\n __value_2: %SystemBoolean, null\r\n __Boolean_1: %SystemBoolean, null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_6: %UnityAINavigationNavMeshSurface, null\r\n __instance_7: %UnityAINavigationNavMeshSurface, null\r\n rigidbody: %UnityEngineRigidbody, null\r\n pickup: %VRCSDK3ComponentsVRCPickup, null\r\n surface: %UnityAINavigationNavMeshSurface, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _onDrop\r\n \r\n _onDrop:\r\n \r\n PUSH, rigidbody\r\n PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, __value_0\r\n EXTERN, \"UnityEngineRigidbody.__set_isKinematic__SystemBoolean__SystemVoid\"\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 _start\r\n \r\n _start:\r\n \r\n PUSH, surface\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n EXTERN, \"UnityAINavigationNavMeshSurface.__BuildNavMesh__SystemVoid\"\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _lateUpdate\r\n \r\n _lateUpdate:\r\n \r\n PUSH, pickup\r\n PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n PUSH, __Boolean_0\r\n EXTERN, \"VRCSDK3ComponentsVRCPickup.__get_IsHeld__SystemBoolean\"\r\n PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x00000100\r\n PUSH, rigidbody\r\n PUSH, __instance_4\r\n COPY\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineQuaternion.__get_identity__UnityEngineQuaternion\"\r\n PUSH, __instance_4\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineRigidbody.__set_rotation__UnityEngineQuaternion__SystemVoid\"\r\n JUMP, 0x00000100\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onPickup\r\n \r\n _onPickup:\r\n \r\n PUSH, rigidbody\r\n PUSH, __instance_5\r\n COPY\r\n PUSH, __instance_5\r\n PUSH, __value_2\r\n EXTERN, \"UnityEngineRigidbody.__set_isKinematic__SystemBoolean__SystemVoid\"\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export Rebuild\r\n \r\n Rebuild:\r\n \r\n PUSH, surface\r\n PUSH, __instance_6\r\n COPY\r\n PUSH, __instance_6\r\n PUSH, __obj_0\r\n EXTERN, \"UnityAINavigationNavMeshSurface.__get_gameObject__UnityEngineGameObject\"\r\n PUSH, __obj_0\r\n PUSH, __Boolean_1\r\n EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n PUSH, __Boolean_1\r\n JUMP_IF_FALSE, 0x000001BC\r\n PUSH, surface\r\n PUSH, __instance_7\r\n COPY\r\n PUSH, __instance_7\r\n EXTERN, \"UnityAINavigationNavMeshSurface.__BuildNavMesh__SystemVoid\"\r\n JUMP, 0x000001BC\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" assemblyError: graphData: name: description: nodes: - fullName: Variable_UnityEngineRigidbody uid: ef13db5e-402e-489e-88fc-b424c32ce1a0 position: {x: -1253.7002, y: -874.2001} 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: Event_OnDrop uid: 6750d61a-2fab-4803-80ee-b9bd3aabbd37 position: {x: 391.6525, y: 542.80493} nodeUIDs: [] flowUIDs: - efb5191e-9578-4563-b2c6-191fee13c9e5 nodeValues: [] - fullName: Variable_VRCSDK3ComponentsVRCPickup uid: 308a6b19-8671-4db0-8f23-c7133d76e573 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|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: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none - fullName: Get_Variable uid: f45de06b-ff68-448c-86a0-29ac5bc44473 position: {x: 501.74905, y: 1239.7411} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|308a6b19-8671-4db0-8f23-c7133d76e573 - unityObjectValue: {fileID: 0} stringValue: - fullName: VRCSDK3ComponentsVRCPickup.__get_IsHeld__SystemBoolean uid: 414100e6-96d4-4e96-babd-ecb149114f31 position: {x: 683.749, y: 1239.7411} nodeUIDs: - f45de06b-ff68-448c-86a0-29ac5bc44473|0 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - fullName: Branch uid: df1c88ff-1a71-4f45-b4bd-2c66091f5a7d position: {x: 861.749, y: 1119.7411} nodeUIDs: - 414100e6-96d4-4e96-babd-ecb149114f31|0 flowUIDs: - 036277f7-c37a-4372-8375-ee2270593383 nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False - fullName: Get_Variable uid: 662817b7-73f1-48a1-9cca-2b03cadc38e7 position: {x: 445.6525, y: 656.80493} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ef13db5e-402e-489e-88fc-b424c32ce1a0 - unityObjectValue: {fileID: 0} stringValue: - fullName: Variable_UnityAINavigationNavMeshSurface uid: a712ed6d-4c34-42b3-abee-e78a824f466e position: {x: -971.7001, y: -599.85} nodeUIDs: - - - - - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|surface - 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: UnityEngineQuaternion.__get_identity__UnityEngineQuaternion uid: bcc143b7-58ad-43cf-80f7-203574079e86 position: {x: 861.749, y: 1239.7411} nodeUIDs: [] flowUIDs: [] nodeValues: [] - fullName: Event_Start uid: 101ed386-5acd-4ad7-984c-204cb16f954b position: {x: 619.0637, y: 204.93837} nodeUIDs: [] flowUIDs: - 7e2ece4a-964c-42a0-985d-c600c404e25e nodeValues: [] - fullName: Get_Variable uid: 20009087-c9e7-42eb-a0a4-7fd4b977530f position: {x: 522.0637, y: 307.93835} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a712ed6d-4c34-42b3-abee-e78a824f466e - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityAINavigationNavMeshSurface.__BuildNavMesh__SystemVoid uid: 7e2ece4a-964c-42a0-985d-c600c404e25e position: {x: 753.0637, y: 241.93837} nodeUIDs: - 20009087-c9e7-42eb-a0a4-7fd4b977530f|0 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - fullName: Event_LateUpdate uid: 7cbcea82-e4a9-46ec-a542-c3ed3b6ac0f8 position: {x: 573.749, y: 1119.7411} nodeUIDs: [] flowUIDs: - df1c88ff-1a71-4f45-b4bd-2c66091f5a7d nodeValues: [] - fullName: Block uid: efb5191e-9578-4563-b2c6-191fee13c9e5 position: {x: 523.65247, y: 542.80493} nodeUIDs: [] flowUIDs: - b17b6ed7-643a-4457-b4fd-a60cb1f7d6f2 nodeValues: [] - fullName: Get_Variable uid: 39cf65fb-80ee-4e71-8258-dc7fe2582c24 position: {x: 828.749, y: 1339.7411} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ef13db5e-402e-489e-88fc-b424c32ce1a0 - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityEngineRigidbody.__set_rotation__UnityEngineQuaternion__SystemVoid uid: 036277f7-c37a-4372-8375-ee2270593383 position: {x: 1057.749, y: 1267.7411} nodeUIDs: - 39cf65fb-80ee-4e71-8258-dc7fe2582c24|0 - bcc143b7-58ad-43cf-80f7-203574079e86|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: UnityEngineRigidbody.__set_isKinematic__SystemBoolean__SystemVoid uid: b17b6ed7-643a-4457-b4fd-a60cb1f7d6f2 position: {x: 755.65247, y: 542.80493} nodeUIDs: - 662817b7-73f1-48a1-9cca-2b03cadc38e7|0 - flowUIDs: - 8b2a5f04-30f4-4cae-8562-030dc86bb02d nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|True - fullName: Event_OnPickup uid: 6188dbaa-7496-45b2-8266-bc361f87468f position: {x: 833.6059, y: 847.24695} nodeUIDs: [] flowUIDs: - a050092f-f554-49b7-9177-d6a176701c64 nodeValues: [] - fullName: Get_Variable uid: 20f09eef-5279-477f-a63d-84a3fc61e709 position: {x: 819.6059, y: 940.24695} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ef13db5e-402e-489e-88fc-b424c32ce1a0 - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityEngineRigidbody.__set_isKinematic__SystemBoolean__SystemVoid uid: a050092f-f554-49b7-9177-d6a176701c64 position: {x: 1039.606, y: 865.24695} nodeUIDs: - 20f09eef-5279-477f-a63d-84a3fc61e709 - flowUIDs: - nodeValues: - unityObjectValue: {fileID: 0} stringValue: - unityObjectValue: {fileID: 0} stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomNetworkEvent__VRCUdonCommonInterfacesNetworkEventTarget_SystemString__SystemVoid uid: 8b2a5f04-30f4-4cae-8562-030dc86bb02d position: {x: 975.65247, y: 542.80493} 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|All - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Rebuild - fullName: Event_Custom uid: e0769ed6-dc31-483a-99c4-a4c7750859d7 position: {x: 284.31207, y: 1533.0417} nodeUIDs: - flowUIDs: - c3b60ad4-5fa5-4d87-9a1d-eddc2a7f1bda nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Rebuild - fullName: Get_Variable uid: 4077ca38-7d81-4aaa-b49d-5c90af43e3c4 position: {x: 1026.3121, y: 1640.0417} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a712ed6d-4c34-42b3-abee-e78a824f466e - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityAINavigationNavMeshSurface.__BuildNavMesh__SystemVoid uid: e933d55c-7989-4b88-83fd-b1ac26b2e932 position: {x: 1244.3121, y: 1533.0417} nodeUIDs: - 4077ca38-7d81-4aaa-b49d-5c90af43e3c4 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean uid: 2b6aedbb-496b-4648-90a9-402c5997a54b position: {x: 673.3121, y: 1620.0417} nodeUIDs: - d1a781f9-0330-47a9-bd9a-e3908668698a|0 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - fullName: Get_Variable uid: 1c72d8cb-964e-4774-9326-9fa03d363e8d position: {x: 280.31207, y: 1640.0417} nodeUIDs: - flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a712ed6d-4c34-42b3-abee-e78a824f466e - unityObjectValue: {fileID: 0} stringValue: - fullName: UnityAINavigationNavMeshSurface.__get_gameObject__UnityEngineGameObject uid: d1a781f9-0330-47a9-bd9a-e3908668698a position: {x: 489.31207, y: 1640.0417} nodeUIDs: - 1c72d8cb-964e-4774-9326-9fa03d363e8d|0 flowUIDs: [] nodeValues: - unityObjectValue: {fileID: 0} stringValue: - fullName: Branch uid: c3b60ad4-5fa5-4d87-9a1d-eddc2a7f1bda position: {x: 861.3121, y: 1533.0417} nodeUIDs: - 2b6aedbb-496b-4648-90a9-402c5997a54b|0 flowUIDs: - e933d55c-7989-4b88-83fd-b1ac26b2e932 nodeValues: - unityObjectValue: {fileID: 0} stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False updateOrder: 0 graphElementData: - type: 2 uid: 68947cd0-59c8-49c2-9862-1d24f07a92f4 jsonData: '{"uid":"68947cd0-59c8-49c2-9862-1d24f07a92f4","layout":{"serializedVersion":"2","x":476.9999694824219,"y":1059.0,"width":779.0,"height":387.0},"containedElements":["df1c88ff-1a71-4f45-b4bd-2c66091f5a7d","414100e6-96d4-4e96-babd-ecb149114f31","f45de06b-ff68-448c-86a0-29ac5bc44473","bcc143b7-58ad-43cf-80f7-203574079e86","7cbcea82-e4a9-46ec-a542-c3ed3b6ac0f8","036277f7-c37a-4372-8375-ee2270593383","39cf65fb-80ee-4e71-8258-dc7fe2582c24"],"title":"Freeze Rotation when Held","layer":-1,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":1.0}}' - type: 2 uid: 6349d780-2723-49de-9527-1fa76958fe23 jsonData: '{"uid":"6349d780-2723-49de-9527-1fa76958fe23","layout":{"serializedVersion":"2","x":367.0,"y":484.0000305175781,"width":882.0,"height":281.0},"containedElements":["6750d61a-2fab-4803-80ee-b9bd3aabbd37","662817b7-73f1-48a1-9cca-2b03cadc38e7","efb5191e-9578-4563-b2c6-191fee13c9e5","b17b6ed7-643a-4457-b4fd-a60cb1f7d6f2","8b2a5f04-30f4-4cae-8562-030dc86bb02d"],"title":"Freeze Step and Rebuild Surface on Drop","layer":-1,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":1.0}}' - type: 2 uid: a0bf07be-34ce-450d-80b7-dbc6dd69822a jsonData: '{"uid":"a0bf07be-34ce-450d-80b7-dbc6dd69822a","layout":{"serializedVersion":"2","x":497.0000305175781,"y":146.00003051757813,"width":433.0,"height":270.0},"containedElements":["20009087-c9e7-42eb-a0a4-7fd4b977530f","7e2ece4a-964c-42a0-985d-c600c404e25e","101ed386-5acd-4ad7-984c-204cb16f954b"],"title":"Build Mesh Once on Start","layer":-1,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":1.0}}' - type: 2 uid: 70484db6-ab39-4d89-b4f5-74755a10812a jsonData: '{"uid":"70484db6-ab39-4d89-b4f5-74755a10812a","layout":{"serializedVersion":"2","x":794.9999389648438,"y":788.0,"width":450.0,"height":260.0},"containedElements":["a050092f-f554-49b7-9177-d6a176701c64","6188dbaa-7496-45b2-8266-bc361f87468f","20f09eef-5279-477f-a63d-84a3fc61e709"],"title":"Set to non-Kinematic when Picked Up","layer":-1,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":1.0}}' - type: 2 uid: 1ff118ea-2b7d-4a01-b74b-dc450b94fc6a jsonData: '{"uid":"1ff118ea-2b7d-4a01-b74b-dc450b94fc6a","layout":{"serializedVersion":"2","x":255.00001525878907,"y":1474.0,"width":1166.0,"height":274.0},"containedElements":["e933d55c-7989-4b88-83fd-b1ac26b2e932","e0769ed6-dc31-483a-99c4-a4c7750859d7","4077ca38-7d81-4aaa-b49d-5c90af43e3c4","2b6aedbb-496b-4648-90a9-402c5997a54b","1c72d8cb-964e-4774-9326-9fa03d363e8d","c3b60ad4-5fa5-4d87-9a1d-eddc2a7f1bda","d1a781f9-0330-47a9-bd9a-e3908668698a"],"title":"Everyone receives \"Rebuild\", only the Owner of the NavmeshSurface runs it.","layer":-1,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":1.0}}' version: 1.0.0 showAssembly: 0