diff --git a/Assets/InputSystem.inputsettings.asset b/Assets/InputSystem.inputsettings.asset new file mode 100644 index 0000000..8a242b0 --- /dev/null +++ b/Assets/InputSystem.inputsettings.asset @@ -0,0 +1,35 @@ +%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: c46f07b5ed07e4e92aa78254188d3d10, type: 3} + m_Name: InputSystem.inputsettings + m_EditorClassIdentifier: + m_SupportedDevices: [] + m_UpdateMode: 1 + m_MaxEventBytesPerUpdate: 5242880 + m_MaxQueuedEventsPerUpdate: 1000 + m_CompensateForScreenOrientation: 1 + m_BackgroundBehavior: 0 + m_EditorInputBehaviorInPlayMode: 0 + m_DefaultDeadzoneMin: 0.125 + m_DefaultDeadzoneMax: 0.925 + m_DefaultButtonPressPoint: 0.5 + m_ButtonReleaseThreshold: 0.75 + m_DefaultTapTime: 0.2 + m_DefaultSlowTapTime: 0.5 + m_DefaultHoldTime: 0.4 + m_TapRadius: 5 + m_MultiTapDelayTime: 0.75 + m_DisableRedundantEventsMerging: 0 + m_iOSSettings: + m_MotionUsage: + m_Enabled: 0 + m_Description: diff --git a/Assets/InputSystem.inputsettings.asset.meta b/Assets/InputSystem.inputsettings.asset.meta new file mode 100644 index 0000000..d20cf0c --- /dev/null +++ b/Assets/InputSystem.inputsettings.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 377412cef1df223b9adb080fca7c59c0 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/InputSystem.meta b/Assets/InputSystem.meta new file mode 100644 index 0000000..7774961 --- /dev/null +++ b/Assets/InputSystem.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e2704abe39b2f4bfa9240375eb1fd971 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/InputSystem/playerInput.inputactions b/Assets/InputSystem/playerInput.inputactions new file mode 100644 index 0000000..17d2e95 --- /dev/null +++ b/Assets/InputSystem/playerInput.inputactions @@ -0,0 +1,878 @@ +{ + "name": "playerInput", + "maps": [ + { + "name": "Player", + "id": "7e85a8db-e912-4e9a-b71b-a4ee7b303ab4", + "actions": [ + { + "name": "Move", + "type": "Value", + "id": "aca1d515-cc61-49ed-b5dd-0f9a98c06ffe", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": true + }, + { + "name": "Look", + "type": "Value", + "id": "c86ca991-4135-4201-9a9f-25ef84489771", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": true + }, + { + "name": "Fire", + "type": "Button", + "id": "ca4f792b-bbcb-479a-b627-5ca14db068ef", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "Jump", + "type": "Button", + "id": "0e8fec3a-bb3c-4eab-a318-f1b121342ce7", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "Run", + "type": "Button", + "id": "2cce7688-bcaa-48c7-9bd2-ddeb63296068", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + } + ], + "bindings": [ + { + "name": "", + "id": "978bfe49-cc26-4a3d-ab7b-7d7a29327403", + "path": "/leftStick", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Move", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "WASD", + "id": "00ca640b-d935-4593-8157-c05846ea39b3", + "path": "Dpad", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "up", + "id": "e2062cb9-1b15-46a2-838c-2f8d72a0bdd9", + "path": "/w", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "up", + "id": "8180e8bd-4097-4f4e-ab88-4523101a6ce9", + "path": "/upArrow", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "320bffee-a40b-4347-ac70-c210eb8bc73a", + "path": "/s", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "1c5327b5-f71c-4f60-99c7-4e737386f1d1", + "path": "/downArrow", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "d2581a9b-1d11-4566-b27d-b92aff5fabbc", + "path": "/a", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "2e46982e-44cc-431b-9f0b-c11910bf467a", + "path": "/leftArrow", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "fcfe95b8-67b9-4526-84b5-5d0bc98d6400", + "path": "/d", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "77bff152-3580-4b21-b6de-dcd0c7e41164", + "path": "/rightArrow", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "", + "id": "1635d3fe-58b6-4ba9-a4e2-f4b964f6b5c8", + "path": "/{Primary2DAxis}", + "interactions": "", + "processors": "", + "groups": "XR", + "action": "Move", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "3ea4d645-4504-4529-b061-ab81934c3752", + "path": "/stick", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Move", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "c1f7a91b-d0fd-4a62-997e-7fb9b69bf235", + "path": "/rightStick", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Look", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "8c8e490b-c610-4785-884f-f04217b23ca4", + "path": "/delta", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse;Touch", + "action": "Look", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "3e5f5442-8668-4b27-a940-df99bad7e831", + "path": "/{Hatswitch}", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Look", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "143bb1cd-cc10-4eca-a2f0-a3664166fe91", + "path": "/rightTrigger", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Fire", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "05f6913d-c316-48b2-a6bb-e225f14c7960", + "path": "/leftButton", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Fire", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "886e731e-7071-4ae4-95c0-e61739dad6fd", + "path": "/primaryTouch/tap", + "interactions": "", + "processors": "", + "groups": ";Touch", + "action": "Fire", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "ee3d0cd2-254e-47a7-a8cb-bc94d9658c54", + "path": "/trigger", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Fire", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "8255d333-5683-4943-a58a-ccb207ff1dce", + "path": "/{PrimaryAction}", + "interactions": "", + "processors": "", + "groups": "XR", + "action": "Fire", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "0a36d447-65fc-4270-bbbd-8e4bc2967428", + "path": "/Space", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse;Gamepad", + "action": "Jump", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "91aac0f2-2820-4052-b73d-dcdc45251192", + "path": "/q", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Run", + "isComposite": false, + "isPartOfComposite": false + } + ] + }, + { + "name": "UI", + "id": "845d6185-c021-4a17-82a9-5c26f8b18728", + "actions": [ + { + "name": "Navigate", + "type": "PassThrough", + "id": "c540d86d-83a1-4668-9e49-2f4edd0012f2", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "Submit", + "type": "Button", + "id": "ede18284-2341-4b60-914f-407e2073f450", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "Cancel", + "type": "Button", + "id": "2f3bb446-9826-468a-85c7-28936d57599d", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "Point", + "type": "PassThrough", + "id": "41095f8e-760c-4d35-816d-ee7804d410c4", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": true + }, + { + "name": "Click", + "type": "PassThrough", + "id": "278735d2-a378-485e-a565-e2514576f805", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": true + }, + { + "name": "ScrollWheel", + "type": "PassThrough", + "id": "aec555dd-aee2-4c87-acd1-1474c4bac859", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "MiddleClick", + "type": "PassThrough", + "id": "af2d8037-bfdc-4cf6-926e-af5473c54611", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "RightClick", + "type": "PassThrough", + "id": "ed2cf36b-6db3-427f-846c-b0ada8b04a5c", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "TrackedDevicePosition", + "type": "PassThrough", + "id": "bafdeb19-bd29-47c6-aa39-0b7f075286d6", + "expectedControlType": "Vector3", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "TrackedDeviceOrientation", + "type": "PassThrough", + "id": "7fd55960-314b-4c60-847b-7449b69736ea", + "expectedControlType": "Quaternion", + "processors": "", + "interactions": "", + "initialStateCheck": false + } + ], + "bindings": [ + { + "name": "Gamepad", + "id": "809f371f-c5e2-4e7a-83a1-d867598f40dd", + "path": "2DVector", + "interactions": "", + "processors": "", + "groups": "", + "action": "Navigate", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "up", + "id": "14a5d6e8-4aaf-4119-a9ef-34b8c2c548bf", + "path": "/leftStick/up", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "up", + "id": "9144cbe6-05e1-4687-a6d7-24f99d23dd81", + "path": "/rightStick/up", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "2db08d65-c5fb-421b-983f-c71163608d67", + "path": "/leftStick/down", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "58748904-2ea9-4a80-8579-b500e6a76df8", + "path": "/rightStick/down", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "8ba04515-75aa-45de-966d-393d9bbd1c14", + "path": "/leftStick/left", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "712e721c-bdfb-4b23-a86c-a0d9fcfea921", + "path": "/rightStick/left", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "fcd248ae-a788-4676-a12e-f4d81205600b", + "path": "/leftStick/right", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "1f04d9bc-c50b-41a1-bfcc-afb75475ec20", + "path": "/rightStick/right", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "", + "id": "fb8277d4-c5cd-4663-9dc7-ee3f0b506d90", + "path": "/dpad", + "interactions": "", + "processors": "", + "groups": ";Gamepad", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "Joystick", + "id": "e25d9774-381c-4a61-b47c-7b6b299ad9f9", + "path": "2DVector", + "interactions": "", + "processors": "", + "groups": "", + "action": "Navigate", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "up", + "id": "3db53b26-6601-41be-9887-63ac74e79d19", + "path": "/stick/up", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "0cb3e13e-3d90-4178-8ae6-d9c5501d653f", + "path": "/stick/down", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "0392d399-f6dd-4c82-8062-c1e9c0d34835", + "path": "/stick/left", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "942a66d9-d42f-43d6-8d70-ecb4ba5363bc", + "path": "/stick/right", + "interactions": "", + "processors": "", + "groups": "Joystick", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "Keyboard", + "id": "ff527021-f211-4c02-933e-5976594c46ed", + "path": "2DVector", + "interactions": "", + "processors": "", + "groups": "", + "action": "Navigate", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "up", + "id": "563fbfdd-0f09-408d-aa75-8642c4f08ef0", + "path": "/w", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "up", + "id": "eb480147-c587-4a33-85ed-eb0ab9942c43", + "path": "/upArrow", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "2bf42165-60bc-42ca-8072-8c13ab40239b", + "path": "/s", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "85d264ad-e0a0-4565-b7ff-1a37edde51ac", + "path": "/downArrow", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "74214943-c580-44e4-98eb-ad7eebe17902", + "path": "/a", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "cea9b045-a000-445b-95b8-0c171af70a3b", + "path": "/leftArrow", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "8607c725-d935-4808-84b1-8354e29bab63", + "path": "/d", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "4cda81dc-9edd-4e03-9d7c-a71a14345d0b", + "path": "/rightArrow", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Navigate", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "", + "id": "9e92bb26-7e3b-4ec4-b06b-3c8f8e498ddc", + "path": "*/{Submit}", + "interactions": "", + "processors": "", + "groups": "", + "action": "Submit", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "82627dcc-3b13-4ba9-841d-e4b746d6553e", + "path": "*/{Cancel}", + "interactions": "", + "processors": "", + "groups": "", + "action": "Cancel", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "c52c8e0b-8179-41d3-b8a1-d149033bbe86", + "path": "/position", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Point", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "e1394cbc-336e-44ce-9ea8-6007ed6193f7", + "path": "/position", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Point", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "5693e57a-238a-46ed-b5ae-e64e6e574302", + "path": "/touch*/position", + "interactions": "", + "processors": "", + "groups": "Touch", + "action": "Point", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "4faf7dc9-b979-4210-aa8c-e808e1ef89f5", + "path": "/leftButton", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Click", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "8d66d5ba-88d7-48e6-b1cd-198bbfef7ace", + "path": "/tip", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "Click", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "47c2a644-3ebc-4dae-a106-589b7ca75b59", + "path": "/touch*/press", + "interactions": "", + "processors": "", + "groups": "Touch", + "action": "Click", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "bb9e6b34-44bf-4381-ac63-5aa15d19f677", + "path": "/trigger", + "interactions": "", + "processors": "", + "groups": "XR", + "action": "Click", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "38c99815-14ea-4617-8627-164d27641299", + "path": "/scroll", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "ScrollWheel", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "24066f69-da47-44f3-a07e-0015fb02eb2e", + "path": "/middleButton", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "MiddleClick", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "4c191405-5738-4d4b-a523-c6a301dbf754", + "path": "/rightButton", + "interactions": "", + "processors": "", + "groups": ";Keyboard&Mouse", + "action": "RightClick", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "7236c0d9-6ca3-47cf-a6ee-a97f5b59ea77", + "path": "/devicePosition", + "interactions": "", + "processors": "", + "groups": "XR", + "action": "TrackedDevicePosition", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "23e01e3a-f935-4948-8d8b-9bcac77714fb", + "path": "/deviceRotation", + "interactions": "", + "processors": "", + "groups": "XR", + "action": "TrackedDeviceOrientation", + "isComposite": false, + "isPartOfComposite": false + } + ] + } + ], + "controlSchemes": [ + { + "name": "Keyboard&Mouse", + "bindingGroup": "Keyboard&Mouse", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + }, + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + }, + { + "name": "Gamepad", + "bindingGroup": "Gamepad", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + }, + { + "name": "Touch", + "bindingGroup": "Touch", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + }, + { + "name": "Joystick", + "bindingGroup": "Joystick", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + }, + { + "name": "XR", + "bindingGroup": "XR", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + } + ] +} \ No newline at end of file diff --git a/Assets/InputSystem/playerInput.inputactions.meta b/Assets/InputSystem/playerInput.inputactions.meta new file mode 100644 index 0000000..c5e2e2d --- /dev/null +++ b/Assets/InputSystem/playerInput.inputactions.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 4191bccdda2aa5e5eab1fab842b17437 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3} + generateWrapperCode: 0 + wrapperCodePath: + wrapperClassName: + wrapperCodeNamespace: diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab new file mode 100644 index 0000000..6cb3eae --- /dev/null +++ b/Assets/Prefabs/Player.prefab @@ -0,0 +1,440 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &9100151556522568768 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9100151556522568799} + - component: {fileID: 9100151556522568796} + - component: {fileID: 9100151556522568797} + - component: {fileID: 9100151556522568770} + - component: {fileID: 9100151556522568771} + - component: {fileID: 9100151556522568793} + - component: {fileID: 9100151556522568798} + - component: {fileID: 9100151556522568792} + m_Layer: 0 + m_Name: Player + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9100151556522568799 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: 0} + m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 9100151557168119606} + - {fileID: 9100151556804785009} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &9100151556522568796 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &9100151556522568797 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!136 &9100151556522568770 +CapsuleCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!54 &9100151556522568771 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + serializedVersion: 2 + m_Mass: 1 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 1 + m_IsKinematic: 0 + m_Interpolate: 0 + m_Constraints: 80 + m_CollisionDetection: 0 +--- !u!114 &9100151556522568793 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0e5b4fb89cbe748afb19a6c0fc37733b, type: 3} + m_Name: + m_EditorClassIdentifier: + walkSpeed: 5 + runSpeed: 10 + jumpForce: 5 + cameraObject: {fileID: 0} +--- !u!114 &9100151556522568798 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 62899f850307741f2a39c98a8b639597, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Actions: {fileID: -944628639613478452, guid: 4191bccdda2aa5e5eab1fab842b17437, type: 3} + m_NotificationBehavior: 0 + m_UIInputModule: {fileID: 0} + m_DeviceLostEvent: + m_PersistentCalls: + m_Calls: [] + m_DeviceRegainedEvent: + m_PersistentCalls: + m_Calls: [] + m_ControlsChangedEvent: + m_PersistentCalls: + m_Calls: [] + m_ActionEvents: + - m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 9100151556522568768} + m_TargetAssemblyTypeName: + m_MethodName: + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_ActionId: aca1d515-cc61-49ed-b5dd-0f9a98c06ffe + m_ActionName: Player/Move[/Keyboard/w,/Keyboard/upArrow,/Keyboard/s,/Keyboard/downArrow,/Keyboard/a,/Keyboard/leftArrow,/Keyboard/d,/Keyboard/rightArrow] + - m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 9100151556522568768} + m_TargetAssemblyTypeName: + m_MethodName: + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_ActionId: c86ca991-4135-4201-9a9f-25ef84489771 + m_ActionName: Player/Look[/Mouse/delta] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: ca4f792b-bbcb-479a-b627-5ca14db068ef + m_ActionName: Player/Fire[/Mouse/leftButton] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: c540d86d-83a1-4668-9e49-2f4edd0012f2 + m_ActionName: UI/Navigate[/Keyboard/w,/Keyboard/upArrow,/Keyboard/s,/Keyboard/downArrow,/Keyboard/a,/Keyboard/leftArrow,/Keyboard/d,/Keyboard/rightArrow] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: ede18284-2341-4b60-914f-407e2073f450 + m_ActionName: UI/Submit[/Keyboard/enter] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: 2f3bb446-9826-468a-85c7-28936d57599d + m_ActionName: UI/Cancel[/Keyboard/escape] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: 41095f8e-760c-4d35-816d-ee7804d410c4 + m_ActionName: UI/Point[/Mouse/position] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: 278735d2-a378-485e-a565-e2514576f805 + m_ActionName: UI/Click[/Mouse/leftButton] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: aec555dd-aee2-4c87-acd1-1474c4bac859 + m_ActionName: UI/ScrollWheel[/Mouse/scroll] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: af2d8037-bfdc-4cf6-926e-af5473c54611 + m_ActionName: UI/MiddleClick[/Mouse/middleButton] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: ed2cf36b-6db3-427f-846c-b0ada8b04a5c + m_ActionName: UI/RightClick[/Mouse/rightButton] + - m_PersistentCalls: + m_Calls: [] + m_ActionId: bafdeb19-bd29-47c6-aa39-0b7f075286d6 + m_ActionName: UI/TrackedDevicePosition + - m_PersistentCalls: + m_Calls: [] + m_ActionId: 7fd55960-314b-4c60-847b-7449b69736ea + m_ActionName: UI/TrackedDeviceOrientation + m_NeverAutoSwitchControlSchemes: 0 + m_DefaultControlScheme: Keyboard&Mouse + m_DefaultActionMap: Player + m_SplitScreenIndex: -1 + m_Camera: {fileID: 9100151557168119607} +--- !u!114 &9100151556522568792 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556522568768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!1 &9100151556804785013 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9100151556804785009} + - component: {fileID: 9100151556804785014} + - component: {fileID: 9100151556804785015} + - component: {fileID: 9100151556804785012} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9100151556804785009 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556804785013} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.465, z: 0.461} + m_LocalScale: {x: 0.2, y: 0.2, z: 0.2} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 9100151556522568799} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &9100151556804785014 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556804785013} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &9100151556804785015 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556804785013} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &9100151556804785012 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151556804785013} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &9100151557168119605 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9100151557168119606} + - component: {fileID: 9100151557168119607} + - component: {fileID: 9100151557168119604} + m_Layer: 0 + m_Name: Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9100151557168119606 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151557168119605} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 1.48, z: 0.13} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 9100151556522568799} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!20 &9100151557168119607 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151557168119605} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!81 &9100151557168119604 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9100151557168119605} + m_Enabled: 1 diff --git a/Assets/Prefabs/Player.prefab.meta b/Assets/Prefabs/Player.prefab.meta new file mode 100644 index 0000000..ed47f0d --- /dev/null +++ b/Assets/Prefabs/Player.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c244a0c51b54dd8f1b451faea5c183e5 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/PlayerControllerTest.unity b/Assets/Scenes/PlayerControllerTest.unity index 4170f56..2be98eb 100644 --- a/Assets/Scenes/PlayerControllerTest.unity +++ b/Assets/Scenes/PlayerControllerTest.unity @@ -725,203 +725,60 @@ Mesh: offset: 0 size: 0 path: ---- !u!1 &1336658008 -GameObject: +--- !u!1001 &9100151556117034861 +PrefabInstance: m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1336658011} - - component: {fileID: 1336658010} - - component: {fileID: 1336658009} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &1336658009 -AudioListener: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1336658008} - m_Enabled: 1 ---- !u!20 &1336658010 -Camera: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1336658008} - m_Enabled: 1 serializedVersion: 2 - m_ClearFlags: 1 - m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} - m_projectionMatrixMode: 1 - m_GateFitMode: 2 - m_FOVAxisMode: 0 - m_SensorSize: {x: 36, y: 24} - m_LensShift: {x: 0, y: 0} - m_FocalLength: 50 - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 0 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 1 - m_AllowMSAA: 1 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!4 &1336658011 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1336658008} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 1.48, z: -0.58} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1747721010} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1747721005 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1747721010} - - component: {fileID: 1747721009} - - component: {fileID: 1747721008} - - component: {fileID: 1747721007} - - component: {fileID: 1747721006} - m_Layer: 0 - m_Name: Player - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!54 &1747721006 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1747721005} - serializedVersion: 2 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_UseGravity: 1 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 80 - m_CollisionDetection: 0 ---- !u!136 &1747721007 -CapsuleCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1747721005} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - m_Radius: 0.5 - m_Height: 2 - m_Direction: 1 - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &1747721008 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1747721005} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &1747721009 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1747721005} - m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &1747721010 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1747721005} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1336658011} - m_Father: {fileID: 0} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 9100151556522568768, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_Name + value: Player + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalPosition.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} diff --git a/Assets/Scenes/PrototypeRoom.unity b/Assets/Scenes/PrototypeRoom.unity index 48649b6..8e9fdfc 100644 --- a/Assets/Scenes/PrototypeRoom.unity +++ b/Assets/Scenes/PrototypeRoom.unity @@ -196,7 +196,7 @@ PrefabInstance: objectReference: {fileID: 842018365} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 10 + value: 11 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -586,7 +586,7 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 15 + m_RootOrder: 16 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!43 &34314577 Mesh: @@ -4917,7 +4917,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 13 + m_RootOrder: 15 m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -5205,7 +5205,7 @@ PrefabInstance: objectReference: {fileID: 55502737} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 7 + value: 8 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -5298,7 +5298,7 @@ PrefabInstance: objectReference: {fileID: 1800254726} - target: {fileID: 9075489758509952946, guid: 57f2b51366fd2b70aaf25fbc10c17a84, type: 3} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 57f2b51366fd2b70aaf25fbc10c17a84, type: 3} propertyPath: m_LocalPosition.x @@ -5346,13 +5346,357 @@ PrefabInstance: objectReference: {fileID: 1800254726} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 57f2b51366fd2b70aaf25fbc10c17a84, type: 3} +--- !u!1 &587366987 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 587366993} + - component: {fileID: 587366992} + - component: {fileID: 587366991} + - component: {fileID: 587366990} + - component: {fileID: 587366989} + - component: {fileID: 587366988} + m_Layer: 0 + m_Name: Cube (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!64 &587366988 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587366987} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 1417350207} +--- !u!33 &587366989 +MeshFilter: + m_ObjectHideFlags: 10 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587366987} + m_Mesh: {fileID: 1417350207} +--- !u!23 &587366990 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587366987} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c22777d6e868e4f2fb421913386b154e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 2 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &587366991 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587366987} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1ca002da428252441b92f28d83c8a65f, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Shape: + rid: 5747682206617960449 + m_Size: {x: 1.2101429, y: -1.0062981, z: -5.4492054} + m_Rotation: {x: 0, y: 0, z: 0, w: 1} + m_PivotLocation: 1 + m_PivotPosition: {x: 0, y: 0, z: 0} + m_UnmodifiedMeshVersion: 2783 + m_ShapeBox: + m_Center: {x: 0.6050714, y: -0.50314903, z: -2.7246027} + m_Extent: {x: 0.6050714, y: 0.50314903, z: 2.7246027} + references: + version: 2 + RefIds: + - rid: 5747682206617960449 + type: {class: Cube, ns: UnityEngine.ProBuilder.Shapes, asm: Unity.ProBuilder} +--- !u!114 &587366992 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587366987} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8233d90336aea43098adf6dbabd606a2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_MeshFormatVersion: 2 + m_Faces: + - m_Indexes: 000000000100000002000000010000000300000002000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 040000000500000006000000050000000700000006000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 08000000090000000a000000090000000b0000000a000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 0c0000000d0000000e0000000d0000000f0000000e000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 100000001100000012000000110000001300000012000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 140000001500000016000000150000001700000016000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + m_SharedVertices: + - m_Vertices: 000000000d00000016000000 + - m_Vertices: 010000000400000017000000 + - m_Vertices: 020000000f00000010000000 + - m_Vertices: 030000000600000011000000 + - m_Vertices: 050000000800000015000000 + - m_Vertices: 070000000a00000013000000 + - m_Vertices: 090000000c00000014000000 + - m_Vertices: 0b0000000e00000012000000 + m_SharedTextures: [] + m_Positions: + - {x: 0, y: -1.0062981, z: 0} + - {x: 2.0152924, y: -1.0062981, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 2.0152924, y: 0, z: 0} + - {x: 2.0152924, y: -1.0062981, z: 0} + - {x: 2.0152924, y: -1.0062981, z: -4.0189867} + - {x: 2.0152924, y: 0, z: 0} + - {x: 2.0152924, y: 0, z: -4.0189867} + - {x: 2.0152924, y: -1.0062981, z: -4.0189867} + - {x: 0, y: -1.0062981, z: -4.0189867} + - {x: 2.0152924, y: 0, z: -4.0189867} + - {x: 0, y: 0, z: -4.0189867} + - {x: 0, y: -1.0062981, z: -4.0189867} + - {x: 0, y: -1.0062981, z: 0} + - {x: 0, y: 0, z: -4.0189867} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 2.0152924, y: 0, z: 0} + - {x: 0, y: 0, z: -4.0189867} + - {x: 2.0152924, y: 0, z: -4.0189867} + - {x: 0, y: -1.0062981, z: -4.0189867} + - {x: 2.0152924, y: -1.0062981, z: -4.0189867} + - {x: 0, y: -1.0062981, z: 0} + - {x: 2.0152924, y: -1.0062981, z: 0} + m_Textures0: + - {x: 0, y: -1.0062981} + - {x: -2.0152924, y: -1.0062981} + - {x: 0, y: 0} + - {x: -2.0152924, y: 0} + - {x: 0, y: -1.0062981} + - {x: -4.0189867, y: -1.0062981} + - {x: 0, y: 0} + - {x: -4.0189867, y: 0} + - {x: 2.0152924, y: -1.0062981} + - {x: 0, y: -1.0062981} + - {x: 2.0152924, y: 0} + - {x: 0, y: 0} + - {x: 4.0189867, y: -1.0062981} + - {x: 0, y: -1.0062981} + - {x: 4.0189867, y: 0} + - {x: 0, y: 0} + - {x: 0, y: 0} + - {x: 2.0152924, y: 0} + - {x: 0, y: -4.0189867} + - {x: 2.0152924, y: -4.0189867} + - {x: -0, y: -4.0189867} + - {x: -2.0152924, y: -4.0189867} + - {x: 0, y: 0} + - {x: -2.0152924, y: 0} + m_Textures2: [] + m_Textures3: [] + m_Tangents: + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 0, y: 0, z: -1, w: -1} + - {x: 0, y: 0, z: -1, w: -1} + - {x: 0, y: 0, z: -1, w: -1} + - {x: 0, y: 0, z: -1, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + m_Colors: [] + m_UnwrapParameters: + m_HardAngle: 88 + m_PackMargin: 20 + m_AngleError: 8 + m_AreaError: 15 + m_PreserveMeshAssetOnDestroy: 0 + assetGuid: + m_Mesh: {fileID: 1417350207} + m_VersionIndex: 2981 + m_IsSelectable: 1 + m_SelectedFaces: + m_SelectedEdges: [] + m_SelectedVertices: +--- !u!4 &587366993 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587366987} + m_LocalRotation: {x: 0.5, y: 0.5, z: 0.5, w: 0.5} + m_LocalPosition: {x: -9.060917, y: 0.99205303, z: 3.9961195} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 18 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!43 &694666122 Mesh: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: pb_Mesh24850 + m_Name: pb_Mesh28626 serializedVersion: 10 m_SubMeshes: - serializedVersion: 2 @@ -6540,7 +6884,7 @@ PrefabInstance: objectReference: {fileID: 1348016203} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 9 + value: 10 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -7508,7 +7852,7 @@ Mesh: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: pb_Mesh-48738 + m_Name: pb_Mesh28362 serializedVersion: 10 m_SubMeshes: - serializedVersion: 2 @@ -8430,51 +8774,51 @@ MonoBehaviour: m_Positions: - {x: -0.00000047683716, y: 0, z: 0} - {x: 9.9801445, y: 0, z: 0} - - {x: -0.00000047683716, y: 2.0244, z: 0} - - {x: 9.9801445, y: 2.0244, z: 0} + - {x: 0, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 1.0104584, z: 0} - {x: 9.9801445, y: 0, z: 0} - - {x: 9.9801445, y: 0, z: -1.9231429} - - {x: 9.9801445, y: 2.0244, z: 0} - - {x: 9.9801445, y: 2.0244, z: -1.9231429} - - {x: 9.9801445, y: 0, z: -1.9231429} - - {x: -0.00000047683716, y: 0, z: -1.9231429} - - {x: 9.9801445, y: 2.0244, z: -1.9231429} - - {x: -0.00000047683716, y: 2.0244, z: -1.9231429} - - {x: -0.00000047683716, y: 0, z: -1.9231429} + - {x: 9.9801445, y: 0, z: -0.9909072} + - {x: 9.9801445, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 1.0104584, z: -0.9909072} + - {x: 9.9801445, y: 0, z: -0.9909072} + - {x: 0, y: 0, z: -0.9909072} + - {x: 9.9801445, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 0, z: -0.9909072} - {x: -0.00000047683716, y: 0, z: 0} - - {x: -0.00000047683716, y: 2.0244, z: -1.9231429} - - {x: -0.00000047683716, y: 2.0244, z: 0} - - {x: -0.00000047683716, y: 2.0244, z: 0} - - {x: 9.9801445, y: 2.0244, z: 0} - - {x: -0.00000047683716, y: 2.0244, z: -1.9231429} - - {x: 9.9801445, y: 2.0244, z: -1.9231429} - - {x: -0.00000047683716, y: 0, z: -1.9231429} - - {x: 9.9801445, y: 0, z: -1.9231429} + - {x: 0, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 1.0104584, z: 0} + - {x: 0, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 1.0104584, z: 0} + - {x: 0, y: 1.0104584, z: -0.9909072} + - {x: 9.9801445, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 0, z: -0.9909072} + - {x: 9.9801445, y: 0, z: -0.9909072} - {x: -0.00000047683716, y: 0, z: 0} - {x: 9.9801445, y: 0, z: 0} m_Textures0: - {x: 0.00000047683716, y: 0} - {x: -9.9801445, y: 0} - - {x: 0.00000047683716, y: 2.0244} - - {x: -9.9801445, y: 2.0244} + - {x: 0, y: 1.0104584} + - {x: -9.9801445, y: 1.0104584} - {x: 0, y: 0} - - {x: -1.9231429, y: 0} - - {x: 0, y: 2.0244} - - {x: -1.9231429, y: 2.0244} + - {x: -0.9909072, y: 0} + - {x: 0, y: 1.0104584} + - {x: -0.9909072, y: 1.0104584} - {x: 9.9801445, y: 0} - - {x: -0.00000047683716, y: 0} - - {x: 9.9801445, y: 2.0244} - - {x: -0.00000047683716, y: 2.0244} - - {x: 1.9231429, y: 0} - {x: 0, y: 0} - - {x: 1.9231429, y: 2.0244} - - {x: 0, y: 2.0244} - - {x: -0.00000047683716, y: 0} + - {x: 9.9801445, y: 1.0104584} + - {x: 0, y: 1.0104584} + - {x: 0.9909072, y: 0} + - {x: -2.2946011e-13, y: 0} + - {x: 0.9909072, y: 1.0104584} + - {x: 0, y: 1.0104584} + - {x: 0, y: 0} - {x: 9.9801445, y: 0} - - {x: -0.00000047683716, y: -1.9231429} - - {x: 9.9801445, y: -1.9231429} - - {x: 0.00000047683716, y: -1.9231429} - - {x: -9.9801445, y: -1.9231429} + - {x: 0, y: -0.9909072} + - {x: 9.9801445, y: -0.9909072} + - {x: 0, y: -0.9909072} + - {x: -9.9801445, y: -0.9909072} - {x: 0.00000047683716, y: 0} - {x: -9.9801445, y: 0} m_Textures2: [] @@ -8492,9 +8836,9 @@ MonoBehaviour: - {x: 1, y: 0, z: 0, w: -1} - {x: 1, y: 0, z: 0, w: -1} - {x: 1, y: 0, z: 0, w: -1} - - {x: 0, y: 0, z: -1, w: -1} - - {x: 0, y: 0, z: -1, w: -1} - - {x: 0, y: 0, z: -1, w: -1} + - {x: 0.00000048121274, y: 0, z: -1, w: -1} + - {x: 0.00000024060637, y: 0, z: -1, w: -1} + - {x: 0.00000024060637, y: 0, z: -1, w: -1} - {x: 0, y: 0, z: -1, w: -1} - {x: 1, y: 0, z: 0, w: -1} - {x: 1, y: 0, z: 0, w: -1} @@ -8513,7 +8857,7 @@ MonoBehaviour: m_PreserveMeshAssetOnDestroy: 0 assetGuid: m_Mesh: {fileID: 1955876320} - m_VersionIndex: 2075 + m_VersionIndex: 2307 m_IsSelectable: 1 m_SelectedFaces: m_SelectedEdges: [] @@ -8591,7 +8935,7 @@ PrefabInstance: objectReference: {fileID: 436423583} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 6 + value: 7 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -9131,6 +9475,350 @@ Mesh: offset: 0 size: 0 path: +--- !u!1 &1379674973 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1379674974} + - component: {fileID: 1379674979} + - component: {fileID: 1379674978} + - component: {fileID: 1379674977} + - component: {fileID: 1379674976} + - component: {fileID: 1379674975} + m_Layer: 0 + m_Name: Cube (7) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1379674974 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1379674973} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 5.776991, y: 11.21, z: -8.590762} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1890031225} + m_RootOrder: 11 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!64 &1379674975 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1379674973} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 1885322545} +--- !u!33 &1379674976 +MeshFilter: + m_ObjectHideFlags: 10 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1379674973} + m_Mesh: {fileID: 1885322545} +--- !u!23 &1379674977 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1379674973} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c22777d6e868e4f2fb421913386b154e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 2 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &1379674978 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1379674973} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1ca002da428252441b92f28d83c8a65f, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Shape: + rid: 8923188195187228678 + m_Size: {x: 9.980145, y: 2.0244, z: -1.9231429} + m_Rotation: {x: 0, y: 0, z: 0, w: 1} + m_PivotLocation: 1 + m_PivotPosition: {x: 0, y: 0, z: 0} + m_UnmodifiedMeshVersion: 2075 + m_ShapeBox: + m_Center: {x: 4.9900723, y: 1.0122, z: -0.96157146} + m_Extent: {x: 4.9900723, y: 1.0122, z: 0.96157146} + references: + version: 2 + RefIds: + - rid: 8923188195187228678 + type: {class: Cube, ns: UnityEngine.ProBuilder.Shapes, asm: Unity.ProBuilder} +--- !u!114 &1379674979 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1379674973} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8233d90336aea43098adf6dbabd606a2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_MeshFormatVersion: 2 + m_Faces: + - m_Indexes: 000000000100000002000000010000000300000002000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 040000000500000006000000050000000700000006000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 08000000090000000a000000090000000b0000000a000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 0c0000000d0000000e0000000d0000000f0000000e000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 100000001100000012000000110000001300000012000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + - m_Indexes: 140000001500000016000000150000001700000016000000 + m_SmoothingGroup: 0 + m_Uv: + m_UseWorldSpace: 0 + m_FlipU: 0 + m_FlipV: 0 + m_SwapUV: 0 + m_Fill: 1 + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Rotation: 0 + m_Anchor: 9 + m_Material: {fileID: 0} + m_SubmeshIndex: 0 + m_ManualUV: 0 + elementGroup: -1 + m_TextureGroup: -1 + m_SharedVertices: + - m_Vertices: 000000000d00000016000000 + - m_Vertices: 010000000400000017000000 + - m_Vertices: 020000000f00000010000000 + - m_Vertices: 030000000600000011000000 + - m_Vertices: 050000000800000015000000 + - m_Vertices: 070000000a00000013000000 + - m_Vertices: 090000000c00000014000000 + - m_Vertices: 0b0000000e00000012000000 + m_SharedTextures: [] + m_Positions: + - {x: -0.00000047683716, y: 0, z: 0} + - {x: 9.9801445, y: 0, z: 0} + - {x: 0, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 0, z: 0} + - {x: 9.9801445, y: 0, z: -0.9909072} + - {x: 9.9801445, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 1.0104584, z: -0.9909072} + - {x: 9.9801445, y: 0, z: -0.9909072} + - {x: 0, y: 0, z: -0.9909072} + - {x: 9.9801445, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 0, z: -0.9909072} + - {x: -0.00000047683716, y: 0, z: 0} + - {x: 0, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 1.0104584, z: 0} + - {x: 0, y: 1.0104584, z: 0} + - {x: 9.9801445, y: 1.0104584, z: 0} + - {x: 0, y: 1.0104584, z: -0.9909072} + - {x: 9.9801445, y: 1.0104584, z: -0.9909072} + - {x: 0, y: 0, z: -0.9909072} + - {x: 9.9801445, y: 0, z: -0.9909072} + - {x: -0.00000047683716, y: 0, z: 0} + - {x: 9.9801445, y: 0, z: 0} + m_Textures0: + - {x: 0.00000047683716, y: 0} + - {x: -9.9801445, y: 0} + - {x: 0, y: 1.0104584} + - {x: -9.9801445, y: 1.0104584} + - {x: 0, y: 0} + - {x: -0.9909072, y: 0} + - {x: 0, y: 1.0104584} + - {x: -0.9909072, y: 1.0104584} + - {x: 9.9801445, y: 0} + - {x: 0, y: 0} + - {x: 9.9801445, y: 1.0104584} + - {x: 0, y: 1.0104584} + - {x: 0.9909072, y: 0} + - {x: -2.2946011e-13, y: 0} + - {x: 0.9909072, y: 1.0104584} + - {x: 0, y: 1.0104584} + - {x: 0, y: 0} + - {x: 9.9801445, y: 0} + - {x: 0, y: -0.9909072} + - {x: 9.9801445, y: -0.9909072} + - {x: 0, y: -0.9909072} + - {x: -9.9801445, y: -0.9909072} + - {x: 0.00000047683716, y: 0} + - {x: -9.9801445, y: 0} + m_Textures2: [] + m_Textures3: [] + m_Tangents: + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 0, y: 0, z: 1, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 0.00000048121274, y: 0, z: -1, w: -1} + - {x: 0.00000024060637, y: 0, z: -1, w: -1} + - {x: 0.00000024060637, y: 0, z: -1, w: -1} + - {x: 0, y: 0, z: -1, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: 1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + - {x: -1, y: 0, z: 0, w: -1} + m_Colors: [] + m_UnwrapParameters: + m_HardAngle: 88 + m_PackMargin: 20 + m_AngleError: 8 + m_AreaError: 15 + m_PreserveMeshAssetOnDestroy: 0 + assetGuid: + m_Mesh: {fileID: 1885322545} + m_VersionIndex: 2310 + m_IsSelectable: 1 + m_SelectedFaces: + m_SelectedEdges: [] + m_SelectedVertices: --- !u!43 &1399367692 Mesh: m_ObjectHideFlags: 0 @@ -9368,7 +10056,7 @@ PrefabInstance: objectReference: {fileID: 180938365} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 8 + value: 9 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -9580,6 +10268,170 @@ Mesh: offset: 0 size: 0 path: +--- !u!43 &1417350207 +Mesh: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: pb_Mesh-36024 + serializedVersion: 10 + m_SubMeshes: + - serializedVersion: 2 + firstByte: 0 + indexCount: 36 + topology: 0 + baseVertex: 0 + firstVertex: 0 + vertexCount: 24 + localAABB: + m_Center: {x: 1.0076462, y: -0.50314903, z: -2.0094934} + m_Extent: {x: 1.0076462, y: 0.50314903, z: 2.0094934} + m_Shapes: + vertices: [] + shapes: [] + channels: [] + fullWeights: [] + m_BindPose: [] + m_BoneNameHashes: + m_RootBoneNameHash: 0 + m_BonesAABB: [] + m_VariableBoneCountWeights: + m_Data: + m_MeshCompression: 0 + m_IsReadable: 1 + m_KeepVertices: 1 + m_KeepIndices: 1 + m_IndexFormat: 0 + m_IndexBuffer: 000001000200010003000200040005000600050007000600080009000a0009000b000a000c000d000e000d000f000e00100011001200110013001200140015001600150017001600 + m_VertexData: + serializedVersion: 3 + m_VertexCount: 24 + m_Channels: + - stream: 0 + offset: 0 + format: 0 + dimension: 3 + - stream: 0 + offset: 12 + format: 0 + dimension: 3 + - stream: 0 + offset: 24 + format: 0 + dimension: 4 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 40 + format: 0 + dimension: 2 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + m_DataSize: 1152 + _typelessdata: 0000000060ce80bf0000000000000000000000000000803f000080bf0000000000000000000080bf0000000060ce80bf8dfa004060ce80bf0000000000000000000000000000803f000080bf0000000000000000000080bf8dfa00c060ce80bf00000000000000000000000000000000000000000000803f000080bf0000000000000000000080bf00000000000000008dfa0040000000000000000000000000000000000000803f000080bf0000000000000000000080bf8dfa00c0000000008dfa004060ce80bf000000000000803f000000000000000000000000000000000000803f000080bf0000000060ce80bf8dfa004060ce80bf8a9b80c00000803f000000000000000000000000000000000000803f000080bf8a9b80c060ce80bf8dfa004000000000000000000000803f000000000000000000000000000000000000803f000080bf00000000000000008dfa0040000000008a9b80c00000803f000000000000000000000000000000000000803f000080bf8a9b80c0000000008dfa004060ce80bf8a9b80c00000000000000000000080bf0000803f0000000000000000000080bf8dfa004060ce80bf0000000060ce80bf8a9b80c00000000000000000000080bf0000803f0000000000000000000080bf0000000060ce80bf8dfa0040000000008a9b80c00000000000000000000080bf0000803f0000000000000000000080bf8dfa00400000000000000000000000008a9b80c00000000000000000000080bf0000803f0000000000000000000080bf00000000000000000000000060ce80bf8a9b80c0000080bf00000000000000000000000000000000000080bf000080bf8a9b804060ce80bf0000000060ce80bf00000000000080bf00000000000000000000000000000000000080bf000080bf0000000060ce80bf00000000000000008a9b80c0000080bf00000000000000000000000000000000000080bf000080bf8a9b804000000000000000000000000000000000000080bf00000000000000000000000000000000000080bf000080bf0000000000000000000000000000000000000000000000000000803f000000000000803f0000000000000000000080bf00000000000000008dfa00400000000000000000000000000000803f000000000000803f0000000000000000000080bf8dfa00400000000000000000000000008a9b80c0000000000000803f000000000000803f0000000000000000000080bf000000008a9b80c08dfa0040000000008a9b80c0000000000000803f000000000000803f0000000000000000000080bf8dfa00408a9b80c00000000060ce80bf8a9b80c000000000000080bf00000000000080bf0000000000000000000080bf000000808a9b80c08dfa004060ce80bf8a9b80c000000000000080bf00000000000080bf0000000000000000000080bf8dfa00c08a9b80c00000000060ce80bf0000000000000000000080bf00000000000080bf0000000000000000000080bf00000000000000008dfa004060ce80bf0000000000000000000080bf00000000000080bf0000000000000000000080bf8dfa00c000000000 + m_CompressedMesh: + m_Vertices: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_UV: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Normals: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Tangents: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Weights: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_NormalSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_TangentSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_FloatColors: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_BoneIndices: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_Triangles: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_UVInfo: 0 + m_LocalAABB: + m_Center: {x: 1.0076462, y: -0.50314903, z: -2.0094934} + m_Extent: {x: 1.0076462, y: 0.50314903, z: 2.0094934} + m_MeshUsageFlags: 0 + m_BakedConvexCollisionMesh: + m_BakedTriangleCollisionMesh: + m_MeshMetrics[0]: 1 + m_MeshMetrics[1]: 1 + m_MeshOptimizationFlags: 1 + m_StreamData: + serializedVersion: 2 + offset: 0 + size: 0 + path: --- !u!43 &1418112456 Mesh: m_ObjectHideFlags: 0 @@ -10898,7 +11750,7 @@ PrefabInstance: objectReference: {fileID: 289208739} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 4 + value: 5 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -11111,7 +11963,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 12 + m_RootOrder: 13 m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -11355,7 +12207,7 @@ PrefabInstance: objectReference: {fileID: 1047689336} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_RootOrder - value: 11 + value: 12 objectReference: {fileID: 0} - target: {fileID: 9075489758509952946, guid: 5d547cd0b713c2ea38aff4c3c132de16, type: 3} propertyPath: m_LocalPosition.x @@ -12731,6 +13583,227 @@ Mesh: offset: 0 size: 0 path: +--- !u!1001 &1882771818 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 9100151556522568768, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_Name + value: Player + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalPosition.x + value: -17.938026 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalPosition.y + value: 0.547 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalPosition.z + value: 7.067217 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 180 + objectReference: {fileID: 0} + - target: {fileID: 9100151556522568799, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c244a0c51b54dd8f1b451faea5c183e5, type: 3} +--- !u!43 &1885322545 +Mesh: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: pb_Mesh-35592 + serializedVersion: 10 + m_SubMeshes: + - serializedVersion: 2 + firstByte: 0 + indexCount: 36 + topology: 0 + baseVertex: 0 + firstVertex: 0 + vertexCount: 24 + localAABB: + m_Center: {x: 4.9900723, y: 0.5052292, z: -0.4954536} + m_Extent: {x: 4.9900723, y: 0.5052292, z: 0.4954536} + m_Shapes: + vertices: [] + shapes: [] + channels: [] + fullWeights: [] + m_BindPose: [] + m_BoneNameHashes: + m_RootBoneNameHash: 0 + m_BonesAABB: [] + m_VariableBoneCountWeights: + m_Data: + m_MeshCompression: 0 + m_IsReadable: 1 + m_KeepVertices: 1 + m_KeepIndices: 1 + m_IndexFormat: 0 + m_IndexBuffer: 000001000200010003000200040005000600050007000600080009000a0009000b000a000c000d000e000d000f000e00100011001200110013001200140015001600150017001600 + m_VertexData: + serializedVersion: 3 + m_VertexCount: 24 + m_Channels: + - stream: 0 + offset: 0 + format: 0 + dimension: 3 + - stream: 0 + offset: 12 + format: 0 + dimension: 3 + - stream: 0 + offset: 24 + format: 0 + dimension: 4 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 40 + format: 0 + dimension: 2 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + m_DataSize: 1152 + _typelessdata: 000000b5000000000000000000000000000000000000803f000080bf0000000000000000000080bf0000003500000000acae1f41000000000000000000000000000000000000803f000080bf0000000000000000000080bfacae1fc10000000000000000b356813f0000000000000000000000000000803f000080bf0000000000000000000080bf00000000b356813facae1f41b356813f0000000000000000000000000000803f000080bf0000000000000000000080bfacae1fc1b356813facae1f4100000000000000000000803f000000000000000000000000000000000000803f000080bf0000000000000000acae1f410000000018ac7dbf0000803f000000000000000000000000000000000000803f000080bf18ac7dbf00000000acae1f41b356813f000000000000803f000000000000000000000000000000000000803f000080bf00000000b356813facae1f41b356813f18ac7dbf0000803f000000000000000000000000000000000000803f000080bf18ac7dbfb356813facae1f410000000018ac7dbf0000000000000000000080bf0000803f0000000000000000000080bfacae1f4100000000000000000000000018ac7dbf0000000000000000000080bf0000803f0000000000000000000080bf0000000000000000acae1f41b356813f18ac7dbf0000000000000000000080bf0000803f0000000000000000000080bfacae1f41b356813f00000000b356813f18ac7dbf0000000000000000000080bf0000803f0000000000000000000080bf00000000b356813f000000000000000018ac7dbf000080bf00000000b02c01b5b02c013500000000000080bf000080bf18ac7d3f00000000000000b50000000000000000000080bfb3597d34b02c81b4b02c813400000000000080bf000080bfb02c81aa0000000000000000b356813f18ac7dbf000080bfb3597d34b02c81b4b02c813400000000000080bf000080bf18ac7d3fb356813f00000000b356813f00000000000080bfb359fd34000000000000000000000000000080bf000080bf00000000b356813f00000000b356813f00000000000000000000803f000000000000803f0000000000000000000080bf0000000000000000acae1f41b356813f00000000000000000000803f000000000000803f0000000000000000000080bfacae1f410000000000000000b356813f18ac7dbf000000000000803f000000000000803f0000000000000000000080bf0000000018ac7dbfacae1f41b356813f18ac7dbf000000000000803f000000000000803f0000000000000000000080bfacae1f4118ac7dbf000000000000000018ac7dbf00000000000080bf00000000000080bf0000000000000000000080bf0000000018ac7dbfacae1f410000000018ac7dbf00000000000080bf00000000000080bf0000000000000000000080bfacae1fc118ac7dbf000000b5000000000000000000000000000080bf00000000000080bf0000000000000000000080bf0000003500000000acae1f41000000000000000000000000000080bf00000000000080bf0000000000000000000080bfacae1fc100000000 + m_CompressedMesh: + m_Vertices: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_UV: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Normals: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Tangents: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Weights: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_NormalSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_TangentSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_FloatColors: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_BoneIndices: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_Triangles: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_UVInfo: 0 + m_LocalAABB: + m_Center: {x: 4.9900723, y: 0.5052292, z: -0.4954536} + m_Extent: {x: 4.9900723, y: 0.5052292, z: 0.4954536} + m_MeshUsageFlags: 0 + m_BakedConvexCollisionMesh: + m_BakedTriangleCollisionMesh: + m_MeshMetrics[0]: 1 + m_MeshMetrics[1]: 1 + m_MeshOptimizationFlags: 1 + m_StreamData: + serializedVersion: 2 + offset: 0 + size: 0 + path: --- !u!1 &1890031224 GameObject: m_ObjectHideFlags: 0 @@ -12770,8 +13843,9 @@ Transform: - {fileID: 540123150} - {fileID: 121476086} - {fileID: 1437925411} + - {fileID: 1379674974} m_Father: {fileID: 0} - m_RootOrder: 5 + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1892336986 PrefabInstance: @@ -12794,7 +13868,7 @@ PrefabInstance: objectReference: {fileID: 2042271790} - target: {fileID: 3557656589096356430, guid: 0eb5da7bf756db690b49c7aac9000e47, type: 3} propertyPath: m_RootOrder - value: 2 + value: 3 objectReference: {fileID: 0} - target: {fileID: 3557656589096356430, guid: 0eb5da7bf756db690b49c7aac9000e47, type: 3} propertyPath: m_LocalPosition.x @@ -43910,7 +44984,7 @@ Mesh: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: pb_Mesh-7854 + m_Name: pb_Mesh28548 serializedVersion: 10 m_SubMeshes: - serializedVersion: 2 @@ -43921,8 +44995,8 @@ Mesh: firstVertex: 0 vertexCount: 24 localAABB: - m_Center: {x: 4.9900723, y: 1.0122, z: -0.96157146} - m_Extent: {x: 4.9900723, y: 1.0122, z: 0.96157146} + m_Center: {x: 4.9900723, y: 0.5052292, z: -0.4954536} + m_Extent: {x: 4.9900723, y: 0.5052292, z: 0.4954536} m_Shapes: vertices: [] shapes: [] @@ -44001,7 +45075,7 @@ Mesh: format: 0 dimension: 0 m_DataSize: 1152 - _typelessdata: 000000b5000000000000000000000000000000000000803f000080bf0000000000000000000080bf0000003500000000acae1f41000000000000000000000000000000000000803f000080bf0000000000000000000080bfacae1fc100000000000000b5c58f01400000000000000000000000000000803f000080bf0000000000000000000080bf00000035c58f0140acae1f41c58f01400000000000000000000000000000803f000080bf0000000000000000000080bfacae1fc1c58f0140acae1f4100000000000000000000803f000000000000000000000000000000000000803f000080bf0000000000000000acae1f41000000008c29f6bf0000803f000000000000000000000000000000000000803f000080bf8c29f6bf00000000acae1f41c58f0140000000000000803f000000000000000000000000000000000000803f000080bf00000000c58f0140acae1f41c58f01408c29f6bf0000803f000000000000000000000000000000000000803f000080bf8c29f6bfc58f0140acae1f41000000008c29f6bf0000000000000000000080bf0000803f0000000000000000000080bfacae1f4100000000000000b5000000008c29f6bf0000000000000000000080bf0000803f0000000000000000000080bf000000b500000000acae1f41c58f01408c29f6bf0000000000000000000080bf0000803f0000000000000000000080bfacae1f41c58f0140000000b5c58f01408c29f6bf0000000000000000000080bf0000803f0000000000000000000080bf000000b5c58f0140000000b5000000008c29f6bf000080bf00000000000000000000000000000000000080bf000080bf8c29f63f00000000000000b50000000000000000000080bf00000000000000000000000000000000000080bf000080bf0000000000000000000000b5c58f01408c29f6bf000080bf00000000000000000000000000000000000080bf000080bf8c29f63fc58f0140000000b5c58f014000000000000080bf00000000000000000000000000000000000080bf000080bf00000000c58f0140000000b5c58f014000000000000000000000803f000000000000803f0000000000000000000080bf000000b500000000acae1f41c58f014000000000000000000000803f000000000000803f0000000000000000000080bfacae1f4100000000000000b5c58f01408c29f6bf000000000000803f000000000000803f0000000000000000000080bf000000b58c29f6bfacae1f41c58f01408c29f6bf000000000000803f000000000000803f0000000000000000000080bfacae1f418c29f6bf000000b5000000008c29f6bf00000000000080bf00000000000080bf0000000000000000000080bf000000358c29f6bfacae1f41000000008c29f6bf00000000000080bf00000000000080bf0000000000000000000080bfacae1fc18c29f6bf000000b5000000000000000000000000000080bf00000000000080bf0000000000000000000080bf0000003500000000acae1f41000000000000000000000000000080bf00000000000080bf0000000000000000000080bfacae1fc100000000 + _typelessdata: 000000b5000000000000000000000000000000000000803f000080bf0000000000000000000080bf0000003500000000acae1f41000000000000000000000000000000000000803f000080bf0000000000000000000080bfacae1fc10000000000000000b356813f0000000000000000000000000000803f000080bf0000000000000000000080bf00000000b356813facae1f41b356813f0000000000000000000000000000803f000080bf0000000000000000000080bfacae1fc1b356813facae1f4100000000000000000000803f000000000000000000000000000000000000803f000080bf0000000000000000acae1f410000000018ac7dbf0000803f000000000000000000000000000000000000803f000080bf18ac7dbf00000000acae1f41b356813f000000000000803f000000000000000000000000000000000000803f000080bf00000000b356813facae1f41b356813f18ac7dbf0000803f000000000000000000000000000000000000803f000080bf18ac7dbfb356813facae1f410000000018ac7dbf0000000000000000000080bf0000803f0000000000000000000080bfacae1f4100000000000000000000000018ac7dbf0000000000000000000080bf0000803f0000000000000000000080bf0000000000000000acae1f41b356813f18ac7dbf0000000000000000000080bf0000803f0000000000000000000080bfacae1f41b356813f00000000b356813f18ac7dbf0000000000000000000080bf0000803f0000000000000000000080bf00000000b356813f000000000000000018ac7dbf000080bf00000000b02c01b5b02c013500000000000080bf000080bf18ac7d3f00000000000000b50000000000000000000080bfb3597d34b02c81b4b02c813400000000000080bf000080bfb02c81aa0000000000000000b356813f18ac7dbf000080bfb3597d34b02c81b4b02c813400000000000080bf000080bf18ac7d3fb356813f00000000b356813f00000000000080bfb359fd34000000000000000000000000000080bf000080bf00000000b356813f00000000b356813f00000000000000000000803f000000000000803f0000000000000000000080bf0000000000000000acae1f41b356813f00000000000000000000803f000000000000803f0000000000000000000080bfacae1f410000000000000000b356813f18ac7dbf000000000000803f000000000000803f0000000000000000000080bf0000000018ac7dbfacae1f41b356813f18ac7dbf000000000000803f000000000000803f0000000000000000000080bfacae1f4118ac7dbf000000000000000018ac7dbf00000000000080bf00000000000080bf0000000000000000000080bf0000000018ac7dbfacae1f410000000018ac7dbf00000000000080bf00000000000080bf0000000000000000000080bfacae1fc118ac7dbf000000b5000000000000000000000000000080bf00000000000080bf0000000000000000000080bf0000003500000000acae1f41000000000000000000000000000080bf00000000000080bf0000000000000000000080bfacae1fc100000000 m_CompressedMesh: m_Vertices: m_NumItems: 0 @@ -44055,8 +45129,8 @@ Mesh: m_BitSize: 0 m_UVInfo: 0 m_LocalAABB: - m_Center: {x: 4.9900723, y: 1.0122, z: -0.96157146} - m_Extent: {x: 4.9900723, y: 1.0122, z: 0.96157146} + m_Center: {x: 4.9900723, y: 0.5052292, z: -0.4954536} + m_Extent: {x: 4.9900723, y: 0.5052292, z: 0.4954536} m_MeshUsageFlags: 0 m_BakedConvexCollisionMesh: m_BakedTriangleCollisionMesh: @@ -45166,7 +46240,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 2372708918439560166, guid: e8415946a33c07539804e7c97719dc5b, type: 3} propertyPath: m_RootOrder - value: 16 + value: 17 objectReference: {fileID: 0} - target: {fileID: 2372708918439560166, guid: e8415946a33c07539804e7c97719dc5b, type: 3} propertyPath: m_LocalPosition.x diff --git a/Assets/Scripts/Billboard.cs b/Assets/Scripts/Billboard.cs index ed426c3..8e6ecb7 100644 --- a/Assets/Scripts/Billboard.cs +++ b/Assets/Scripts/Billboard.cs @@ -1,9 +1,15 @@ -using UnityEngine; +using System; +using UnityEngine; public class Billboard : MonoBehaviour { public Camera m_Camera; + private void Start() + { + m_Camera = FindObjectOfType(); + } + void LateUpdate() { transform.LookAt(transform.position + m_Camera.transform.rotation * Vector3.forward, diff --git a/Assets/Scripts/playerController.cs b/Assets/Scripts/playerController.cs index 197fbfa..5541fdb 100644 --- a/Assets/Scripts/playerController.cs +++ b/Assets/Scripts/playerController.cs @@ -1,18 +1,61 @@ -using System.Collections; -using System.Collections.Generic; using UnityEngine; +using UnityEngine.InputSystem; public class playerController : MonoBehaviour { + public float walkSpeed = 5.0f; + public float runSpeed = 10.0f; + public float jumpForce = 5.0f; + public GameObject cameraObject; + + private InputActionAsset runButton; + private bool running = false; + private float moveSpeed; + private Vector2 moveValue; + private Vector2 lookValue; + private Rigidbody playerRB; + // Start is called before the first frame update void Start() { - + cameraObject = GameObject.FindGameObjectWithTag("MainCamera"); + playerRB = GetComponent(); } // Update is called once per frame void Update() { + + if (running) + { + moveSpeed = runSpeed; + } + else + { + moveSpeed = walkSpeed; + } + //Move player according to the value from OnMove() + transform.Translate(new Vector3(moveValue.x, 0, moveValue.y) * (moveSpeed * Time.deltaTime)); + + //Rotate camera and player according to the value from OnLook() + cameraObject.transform.Rotate(new Vector3(-lookValue.y, 0f, 0f), Space.Self); + transform.Rotate(new Vector3(0f, lookValue.x, 0f), Space.World); } + + void OnMove(InputValue value) + { + moveValue = value.Get(); + } + + void OnLook(InputValue value) + { + lookValue = value.Get(); + } + + void OnJump(InputValue value) + { + playerRB.AddForce(new Vector3(0, jumpForce, 0), ForceMode.Impulse); + } + } diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 0147887..4975f97 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -5,4 +5,5 @@ EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: [] - m_configObjects: {} + m_configObjects: + com.unity.input.settings: {fileID: 11400000, guid: 377412cef1df223b9adb080fca7c59c0, type: 2} diff --git a/ProjectSettings/Packages/com.unity.probuilder/Settings.json b/ProjectSettings/Packages/com.unity.probuilder/Settings.json index bf69cda..b23c933 100644 --- a/ProjectSettings/Packages/com.unity.probuilder/Settings.json +++ b/ProjectSettings/Packages/com.unity.probuilder/Settings.json @@ -101,7 +101,7 @@ { "type": "UnityEngine.ProBuilder.SelectMode, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "key": "editor.selectMode", - "value": "{\"m_Value\":1}" + "value": "{\"m_Value\":8}" }, { "type": "UnityEngine.ProBuilder.SelectMode, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", @@ -131,7 +131,7 @@ { "type": "UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "key": "ShapeBuilder.LastSize", - "value": "{\"m_Value\":{\"x\":19.394981384277345,\"y\":-1.8654950857162476,\"z\":19.952726364135743}}" + "value": "{\"m_Value\":{\"x\":1.2101428508758546,\"y\":-1.0062980651855469,\"z\":-5.44920539855957}}" }, { "type": "UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",