diff --git a/Assets/Buildings.meta b/Assets/Buildings.meta new file mode 100644 index 0000000..84bc87d --- /dev/null +++ b/Assets/Buildings.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e5e11cdf9ba9bac4d87ad497110d2f57 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Buildings.meta b/Assets/Buildings/Prefabs.meta similarity index 100% rename from Assets/Prefabs/Buildings.meta rename to Assets/Buildings/Prefabs.meta diff --git a/Assets/Prefabs/Buildings/House.prefab b/Assets/Buildings/Prefabs/House.prefab similarity index 100% rename from Assets/Prefabs/Buildings/House.prefab rename to Assets/Buildings/Prefabs/House.prefab diff --git a/Assets/Prefabs/Buildings/House.prefab.meta b/Assets/Buildings/Prefabs/House.prefab.meta similarity index 100% rename from Assets/Prefabs/Buildings/House.prefab.meta rename to Assets/Buildings/Prefabs/House.prefab.meta diff --git a/Assets/Prefabs/Buildings/HouseBlueprint.prefab b/Assets/Buildings/Prefabs/HouseBlueprint.prefab similarity index 100% rename from Assets/Prefabs/Buildings/HouseBlueprint.prefab rename to Assets/Buildings/Prefabs/HouseBlueprint.prefab diff --git a/Assets/Prefabs/Buildings/HouseBlueprint.prefab.meta b/Assets/Buildings/Prefabs/HouseBlueprint.prefab.meta similarity index 100% rename from Assets/Prefabs/Buildings/HouseBlueprint.prefab.meta rename to Assets/Buildings/Prefabs/HouseBlueprint.prefab.meta diff --git a/Assets/Prefabs/Buildings/HouseConstruction.prefab b/Assets/Buildings/Prefabs/HouseConstruction.prefab similarity index 100% rename from Assets/Prefabs/Buildings/HouseConstruction.prefab rename to Assets/Buildings/Prefabs/HouseConstruction.prefab diff --git a/Assets/Prefabs/Buildings/HouseConstruction.prefab.meta b/Assets/Buildings/Prefabs/HouseConstruction.prefab.meta similarity index 100% rename from Assets/Prefabs/Buildings/HouseConstruction.prefab.meta rename to Assets/Buildings/Prefabs/HouseConstruction.prefab.meta diff --git a/Assets/Prefabs/Buildings/Warehouse.meta b/Assets/Buildings/Prefabs/Warehouse.meta similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse.meta rename to Assets/Buildings/Prefabs/Warehouse.meta diff --git a/Assets/Prefabs/Buildings/Warehouse/Warehouse_1_building.prefab b/Assets/Buildings/Prefabs/Warehouse/Warehouse_1_building.prefab similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse/Warehouse_1_building.prefab rename to Assets/Buildings/Prefabs/Warehouse/Warehouse_1_building.prefab diff --git a/Assets/Prefabs/Buildings/Warehouse/Warehouse_1_building.prefab.meta b/Assets/Buildings/Prefabs/Warehouse/Warehouse_1_building.prefab.meta similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse/Warehouse_1_building.prefab.meta rename to Assets/Buildings/Prefabs/Warehouse/Warehouse_1_building.prefab.meta diff --git a/Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_blueprint.prefab b/Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_blueprint.prefab similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_blueprint.prefab rename to Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_blueprint.prefab diff --git a/Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_blueprint.prefab.meta b/Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_blueprint.prefab.meta similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_blueprint.prefab.meta rename to Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_blueprint.prefab.meta diff --git a/Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_construction.prefab b/Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_construction.prefab similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_construction.prefab rename to Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_construction.prefab diff --git a/Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_construction.prefab.meta b/Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_construction.prefab.meta similarity index 100% rename from Assets/Prefabs/Buildings/Warehouse/Warehouse_level_1_construction.prefab.meta rename to Assets/Buildings/Prefabs/Warehouse/Warehouse_level_1_construction.prefab.meta diff --git a/Assets/Scripts/Building.meta b/Assets/Buildings/Scripts.meta similarity index 100% rename from Assets/Scripts/Building.meta rename to Assets/Buildings/Scripts.meta diff --git a/Assets/Scripts/Building/Building.cs b/Assets/Buildings/Scripts/Building.cs similarity index 100% rename from Assets/Scripts/Building/Building.cs rename to Assets/Buildings/Scripts/Building.cs diff --git a/Assets/Scripts/Building/Building.cs.meta b/Assets/Buildings/Scripts/Building.cs.meta similarity index 100% rename from Assets/Scripts/Building/Building.cs.meta rename to Assets/Buildings/Scripts/Building.cs.meta diff --git a/Assets/Scripts/Building/BuildingBlueprint.cs b/Assets/Buildings/Scripts/BuildingBlueprint.cs similarity index 98% rename from Assets/Scripts/Building/BuildingBlueprint.cs rename to Assets/Buildings/Scripts/BuildingBlueprint.cs index 848ab15..1f5bfdd 100644 --- a/Assets/Scripts/Building/BuildingBlueprint.cs +++ b/Assets/Buildings/Scripts/BuildingBlueprint.cs @@ -34,7 +34,7 @@ public abstract class BuildingBlueprint : MonoBehaviour gameObject.tag = "Blueprint"; //Give Gameobject the tag "Blueprint" (after deleting all objs with this tag) - hud.enabled = false; //Hide HUD + Init(); //Call init callback function for children } diff --git a/Assets/Scripts/Building/BuildingBlueprint.cs.meta b/Assets/Buildings/Scripts/BuildingBlueprint.cs.meta similarity index 100% rename from Assets/Scripts/Building/BuildingBlueprint.cs.meta rename to Assets/Buildings/Scripts/BuildingBlueprint.cs.meta diff --git a/Assets/Scripts/Building/BuildingConstruction.cs b/Assets/Buildings/Scripts/BuildingConstruction.cs similarity index 100% rename from Assets/Scripts/Building/BuildingConstruction.cs rename to Assets/Buildings/Scripts/BuildingConstruction.cs diff --git a/Assets/Scripts/Building/BuildingConstruction.cs.meta b/Assets/Buildings/Scripts/BuildingConstruction.cs.meta similarity index 100% rename from Assets/Scripts/Building/BuildingConstruction.cs.meta rename to Assets/Buildings/Scripts/BuildingConstruction.cs.meta diff --git a/Assets/Scripts/Building/BuildingPlacement.cs b/Assets/Buildings/Scripts/BuildingPlacement.cs similarity index 77% rename from Assets/Scripts/Building/BuildingPlacement.cs rename to Assets/Buildings/Scripts/BuildingPlacement.cs index 4c7eef9..3e7e5b3 100644 --- a/Assets/Scripts/Building/BuildingPlacement.cs +++ b/Assets/Buildings/Scripts/BuildingPlacement.cs @@ -8,12 +8,21 @@ public class BuildingPlacement : MonoBehaviour [SerializeField] private GameObject prefab; Ray ray; + private Canvas hud; + + private void Start() + { + hud = GameObject.Find("HUD").GetComponent(); + } void Update() { // Build Button Handler if (Input.GetButtonDown("Build")) { // Wenn man den Button 'B' + //Get HUD Canvas + hud.enabled = false; //Hide HUD + ray = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hitData; if (terrain.GetComponent().Raycast(ray, out hitData, Mathf.Infinity)) diff --git a/Assets/Scripts/Building/BuildingPlacement.cs.meta b/Assets/Buildings/Scripts/BuildingPlacement.cs.meta similarity index 100% rename from Assets/Scripts/Building/BuildingPlacement.cs.meta rename to Assets/Buildings/Scripts/BuildingPlacement.cs.meta diff --git a/Assets/Scripts/Building/Buildings.meta b/Assets/Buildings/Scripts/Buildings.meta similarity index 100% rename from Assets/Scripts/Building/Buildings.meta rename to Assets/Buildings/Scripts/Buildings.meta diff --git a/Assets/Scripts/Building/Buildings/House.meta b/Assets/Buildings/Scripts/Buildings/House.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/House.meta rename to Assets/Buildings/Scripts/Buildings/House.meta diff --git a/Assets/Scripts/Building/Buildings/House/HouseBlueprint.cs b/Assets/Buildings/Scripts/Buildings/House/HouseBlueprint.cs similarity index 100% rename from Assets/Scripts/Building/Buildings/House/HouseBlueprint.cs rename to Assets/Buildings/Scripts/Buildings/House/HouseBlueprint.cs diff --git a/Assets/Scripts/Building/Buildings/House/HouseBlueprint.cs.meta b/Assets/Buildings/Scripts/Buildings/House/HouseBlueprint.cs.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/House/HouseBlueprint.cs.meta rename to Assets/Buildings/Scripts/Buildings/House/HouseBlueprint.cs.meta diff --git a/Assets/Scripts/Building/Buildings/House/HouseBuildingScript.cs b/Assets/Buildings/Scripts/Buildings/House/HouseBuildingScript.cs similarity index 100% rename from Assets/Scripts/Building/Buildings/House/HouseBuildingScript.cs rename to Assets/Buildings/Scripts/Buildings/House/HouseBuildingScript.cs diff --git a/Assets/Scripts/Building/Buildings/House/HouseBuildingScript.cs.meta b/Assets/Buildings/Scripts/Buildings/House/HouseBuildingScript.cs.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/House/HouseBuildingScript.cs.meta rename to Assets/Buildings/Scripts/Buildings/House/HouseBuildingScript.cs.meta diff --git a/Assets/Scripts/Building/Buildings/House/HouseConstruction.cs b/Assets/Buildings/Scripts/Buildings/House/HouseConstruction.cs similarity index 100% rename from Assets/Scripts/Building/Buildings/House/HouseConstruction.cs rename to Assets/Buildings/Scripts/Buildings/House/HouseConstruction.cs diff --git a/Assets/Scripts/Building/Buildings/House/HouseConstruction.cs.meta b/Assets/Buildings/Scripts/Buildings/House/HouseConstruction.cs.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/House/HouseConstruction.cs.meta rename to Assets/Buildings/Scripts/Buildings/House/HouseConstruction.cs.meta diff --git a/Assets/Scripts/Building/Buildings/Warehouse.meta b/Assets/Buildings/Scripts/Buildings/Warehouse.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse.meta rename to Assets/Buildings/Scripts/Buildings/Warehouse.meta diff --git a/Assets/Scripts/Building/Buildings/Warehouse/WarehouseBlueprint.cs b/Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBlueprint.cs similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse/WarehouseBlueprint.cs rename to Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBlueprint.cs diff --git a/Assets/Scripts/Building/Buildings/Warehouse/WarehouseBlueprint.cs.meta b/Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBlueprint.cs.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse/WarehouseBlueprint.cs.meta rename to Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBlueprint.cs.meta diff --git a/Assets/Scripts/Building/Buildings/Warehouse/WarehouseBuilding.cs b/Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBuilding.cs similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse/WarehouseBuilding.cs rename to Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBuilding.cs diff --git a/Assets/Scripts/Building/Buildings/Warehouse/WarehouseBuilding.cs.meta b/Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBuilding.cs.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse/WarehouseBuilding.cs.meta rename to Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseBuilding.cs.meta diff --git a/Assets/Scripts/Building/Buildings/Warehouse/WarehouseConstruction.cs b/Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseConstruction.cs similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse/WarehouseConstruction.cs rename to Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseConstruction.cs diff --git a/Assets/Scripts/Building/Buildings/Warehouse/WarehouseConstruction.cs.meta b/Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseConstruction.cs.meta similarity index 100% rename from Assets/Scripts/Building/Buildings/Warehouse/WarehouseConstruction.cs.meta rename to Assets/Buildings/Scripts/Buildings/Warehouse/WarehouseConstruction.cs.meta diff --git a/Assets/Scripts/Building/InfoSign.cs b/Assets/Buildings/Scripts/InfoSign.cs similarity index 100% rename from Assets/Scripts/Building/InfoSign.cs rename to Assets/Buildings/Scripts/InfoSign.cs diff --git a/Assets/Scripts/Building/InfoSign.cs.meta b/Assets/Buildings/Scripts/InfoSign.cs.meta similarity index 100% rename from Assets/Scripts/Building/InfoSign.cs.meta rename to Assets/Buildings/Scripts/InfoSign.cs.meta diff --git a/Assets/Scripts/Building/Types.meta b/Assets/Buildings/Scripts/Types.meta similarity index 100% rename from Assets/Scripts/Building/Types.meta rename to Assets/Buildings/Scripts/Types.meta diff --git a/Assets/Scripts/Building/Types/StorageBuilding.cs b/Assets/Buildings/Scripts/Types/StorageBuilding.cs similarity index 100% rename from Assets/Scripts/Building/Types/StorageBuilding.cs rename to Assets/Buildings/Scripts/Types/StorageBuilding.cs diff --git a/Assets/Scripts/Building/Types/StorageBuilding.cs.meta b/Assets/Buildings/Scripts/Types/StorageBuilding.cs.meta similarity index 100% rename from Assets/Scripts/Building/Types/StorageBuilding.cs.meta rename to Assets/Buildings/Scripts/Types/StorageBuilding.cs.meta diff --git a/Assets/Prefabs/FirstPerson Player.prefab b/Assets/Prefabs/FirstPerson Player.prefab index 3c53cfc..54bf401 100644 --- a/Assets/Prefabs/FirstPerson Player.prefab +++ b/Assets/Prefabs/FirstPerson Player.prefab @@ -1,6 +1,6 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &8390537187855206697 +--- !u!1 &1669933258819488574 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -8,72 +8,42 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 8390537187855206696} - m_Layer: 0 - m_Name: GroundCheck - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &8390537187855206696 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537187855206697} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: -1.75, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 8390537188327133022} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &8390537187866079435 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8390537187866079434} - - component: {fileID: 8390537187866079439} - - component: {fileID: 8390537187866079436} - - component: {fileID: 8390537187866079437} - m_Layer: 0 + - component: {fileID: 1669933258819488575} + - component: {fileID: 1669933258819488570} + - component: {fileID: 1669933258819488569} + - component: {fileID: 1669933258819488568} + m_Layer: 8 m_Name: Main Camera m_TagString: MainCamera m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &8390537187866079434 +--- !u!4 &1669933258819488575 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537187866079435} + m_GameObject: {fileID: 1669933258819488574} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 1.5, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 8390537188327133022} + m_Father: {fileID: 1669933259431883947} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!20 &8390537187866079439 +--- !u!20 &1669933258819488570 Camera: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537187866079435} + m_GameObject: {fileID: 1669933258819488574} m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 - m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_BackGroundColor: {r: 0.19326274, g: 0.48865005, b: 0.9528302, a: 0} m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 @@ -106,21 +76,21 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 ---- !u!81 &8390537187866079436 +--- !u!81 &1669933258819488569 AudioListener: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537187866079435} + m_GameObject: {fileID: 1669933258819488574} m_Enabled: 1 ---- !u!114 &8390537187866079437 +--- !u!114 &1669933258819488568 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537187866079435} + m_GameObject: {fileID: 1669933258819488574} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 27ccf256a5b5a4841834e2cc7ef253e0, type: 3} @@ -128,8 +98,8 @@ MonoBehaviour: m_EditorClassIdentifier: mouseSensitivityX: 600 mouseSensitivityY: 600 - playerBody: {fileID: 8390537188327133022} ---- !u!1 &8390537188327133021 + playerBody: {fileID: 1669933259431883947} +--- !u!1 &1669933258830066396 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -137,43 +107,73 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 8390537188327133022} - - component: {fileID: 8390537188327133020} - - component: {fileID: 8390537188327132961} - - component: {fileID: 95348670} - - component: {fileID: 95348669} - - component: {fileID: 95348673} - m_Layer: 0 - m_Name: FirstPerson Player - m_TagString: FPSPlayer + - component: {fileID: 1669933258830066397} + m_Layer: 8 + m_Name: GroundCheck + m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &8390537188327133022 +--- !u!4 &1669933258830066397 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537188327133021} + m_GameObject: {fileID: 1669933258830066396} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 20, z: 0} + m_LocalPosition: {x: 0, y: -1.75, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1669933259431883947} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1669933259431883944 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1669933259431883947} + - component: {fileID: 1669933259431883945} + - component: {fileID: 1669933259431883988} + - component: {fileID: 7160132340735499336} + - component: {fileID: 1669933259431883946} + - component: {fileID: 1669933259431883989} + m_Layer: 8 + m_Name: FirstPerson Player + m_TagString: FPSPlayer + m_Icon: {fileID: 3936346786652291628, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1669933259431883947 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1669933259431883944} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 21.77, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 8390537189371922023} - - {fileID: 8390537187866079434} - - {fileID: 8390537187855206696} + - {fileID: 1669933260534873490} + - {fileID: 1669933258819488575} + - {fileID: 1669933258830066397} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &8390537188327133020 +--- !u!114 &1669933259431883945 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537188327133021} + m_GameObject: {fileID: 1669933259431883944} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fcb8e32fc55ebe9478dee06683e84d92, type: 3} @@ -185,20 +185,20 @@ MonoBehaviour: jumpSprintSpeedModifier: 2000 jumpForce: 4 fallMultiplier: 1.8 - groundCheck: {fileID: 8390537187855206696} + groundCheck: {fileID: 1669933258830066397} groundDistance: 0.4 groundMask: serializedVersion: 2 m_Bits: 128 isSprinting: 0 isSneaking: 0 ---- !u!114 &8390537188327132961 +--- !u!114 &1669933259431883988 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537188327133021} + m_GameObject: {fileID: 1669933259431883944} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 49d5033db90749f43a12d57f82fcf8be, type: 3} @@ -206,13 +206,27 @@ MonoBehaviour: m_EditorClassIdentifier: interactionDistance: 20 interactionText: {fileID: 0} ---- !u!54 &95348670 +--- !u!136 &7160132340735499336 +CapsuleCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1669933259431883944} + m_Material: {fileID: 13400000, guid: fa15d3dbf2db3504eab6d81839f8c74b, type: 2} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.8 + m_Height: 3.5 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!54 &1669933259431883946 Rigidbody: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537188327133021} + m_GameObject: {fileID: 1669933259431883944} serializedVersion: 2 m_Mass: 1 m_Drag: 0 @@ -221,36 +235,22 @@ Rigidbody: m_IsKinematic: 0 m_Interpolate: 0 m_Constraints: 112 - m_CollisionDetection: 0 ---- !u!136 &95348669 -CapsuleCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537188327133021} - m_Material: {fileID: 13400000, guid: fa15d3dbf2db3504eab6d81839f8c74b, type: 2} - m_IsTrigger: 0 - m_Enabled: 1 - m_Radius: 0.8 - m_Height: 3.5 - m_Direction: 1 - m_Center: {x: 0, y: 0, z: 0} ---- !u!114 &95348673 + m_CollisionDetection: 1 +--- !u!114 &1669933259431883989 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537188327133021} + m_GameObject: {fileID: 1669933259431883944} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 2fe01a752f991734aa307cc7b7665015, type: 3} m_Name: m_EditorClassIdentifier: terrain: {fileID: 0} - prefab: {fileID: 194332003443584216, guid: 1c0b2ac83b1c14641b7e9eee6c5776b3, type: 3} ---- !u!1 &8390537189371922020 + prefab: {fileID: 3267014614944694456, guid: 7360393ab87b77243835eef567656173, type: 3} +--- !u!1 &1669933260534873489 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -258,45 +258,45 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 8390537189371922023} - - component: {fileID: 8390537189371922025} - - component: {fileID: 8390537189371922022} - m_Layer: 0 + - component: {fileID: 1669933260534873490} + - component: {fileID: 1669933260534873500} + - component: {fileID: 1669933260534873491} + m_Layer: 8 m_Name: Cylinder m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &8390537189371922023 +--- !u!4 &1669933260534873490 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537189371922020} + m_GameObject: {fileID: 1669933260534873489} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -18.4} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1.2, y: 1.8, z: 1.2} m_Children: [] - m_Father: {fileID: 8390537188327133022} + m_Father: {fileID: 1669933259431883947} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &8390537189371922025 +--- !u!33 &1669933260534873500 MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537189371922020} + m_GameObject: {fileID: 1669933260534873489} m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &8390537189371922022 +--- !u!23 &1669933260534873491 MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8390537189371922020} + m_GameObject: {fileID: 1669933260534873489} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 diff --git a/Assets/Prefabs/FirstPerson Player.prefab.meta b/Assets/Prefabs/FirstPerson Player.prefab.meta index 2f01ed8..a789b03 100644 --- a/Assets/Prefabs/FirstPerson Player.prefab.meta +++ b/Assets/Prefabs/FirstPerson Player.prefab.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 6a86db7765f277243b912c20f451dc47 +guid: 3a99919bf4b126a4980ab89eb73d356b PrefabImporter: externalObjects: {} userData: diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 5820c95..e58ccf4 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -14,7 +14,7 @@ OcclusionCullingSettings: RenderSettings: m_ObjectHideFlags: 0 serializedVersion: 9 - m_Fog: 1 + m_Fog: 0 m_FogColor: {r: 0.5997771, g: 0.59294367, b: 0.58925563, a: 1} m_FogMode: 3 m_FogDensity: 0.001 @@ -123,45 +123,10 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &95348668 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 8390537188327133021, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - m_PrefabInstance: {fileID: 8390537188401440993} - m_PrefabAsset: {fileID: 0} ---- !u!54 &95348670 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 95348668} - serializedVersion: 2 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_UseGravity: 1 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 112 - m_CollisionDetection: 1 ---- !u!114 &95348673 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 95348668} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 2fe01a752f991734aa307cc7b7665015, type: 3} - m_Name: - m_EditorClassIdentifier: - terrain: {fileID: 1417065444} - prefab: {fileID: 3267014614944694456, guid: 7360393ab87b77243835eef567656173, type: 3} ---- !u!4 &95348674 stripped +--- !u!4 &95348671 stripped Transform: - m_CorrespondingSourceObject: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - m_PrefabInstance: {fileID: 8390537188401440993} + m_CorrespondingSourceObject: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + m_PrefabInstance: {fileID: 1669933259357868820} m_PrefabAsset: {fileID: 0} --- !u!1 &114639927 GameObject: @@ -372,6 +337,158 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 185435514} m_CullTransparentMesh: 1 +--- !u!1 &233440983 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 233440984} + - component: {fileID: 233440986} + - component: {fileID: 233440985} + m_Layer: 5 + m_Name: Preview + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &233440984 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 233440983} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 560358380} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 151.65405, y: 0} + m_SizeDelta: {x: -337.3083, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &233440985 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 233440983} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0.392} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &233440986 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 233440983} + m_CullTransparentMesh: 1 +--- !u!1 &560358379 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 560358380} + - component: {fileID: 560358382} + - component: {fileID: 560358381} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &560358380 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 560358379} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 233440984} + - {fileID: 1636328660} + m_Father: {fileID: 1260543393} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: 0, y: 106.34} + m_SizeDelta: {x: 722.537, y: 403.3258} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &560358381 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 560358379} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.104797065, g: 0.1319914, b: 0.14150941, a: 0.46666667} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &560358382 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 560358379} + m_CullTransparentMesh: 1 --- !u!1 &705507993 GameObject: m_ObjectHideFlags: 0 @@ -463,7 +580,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 6 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} --- !u!1 &708126139 GameObject: @@ -561,70 +678,13 @@ RectTransform: - {fileID: 114639928} - {fileID: 1395840125} m_Father: {fileID: 0} - m_RootOrder: 7 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 0} ---- !u!1001 &1039691705 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalPosition.x - value: 1.5593584 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalPosition.y - value: 19.738813 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalPosition.z - value: 15.017967 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2746374261508250114, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3267014614944694456, guid: 7360393ab87b77243835eef567656173, type: 3} - propertyPath: m_Name - value: Warehouse_level_1_blueprint - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 7360393ab87b77243835eef567656173, type: 3} --- !u!1 &1048269303 GameObject: m_ObjectHideFlags: 0 @@ -764,6 +824,106 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1260543389 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1260543393} + - component: {fileID: 1260543392} + - component: {fileID: 1260543391} + - component: {fileID: 1260543390} + m_Layer: 5 + m_Name: BuildMenu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1260543390 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260543389} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1260543391 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260543389} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!223 &1260543392 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260543389} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &1260543393 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260543389} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 560358380} + m_Father: {fileID: 0} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} --- !u!1 &1395840124 GameObject: m_ObjectHideFlags: 0 @@ -986,7 +1146,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: cae4d204e179a7d4d87a943ab285ac92, type: 3} m_Name: m_EditorClassIdentifier: - player: {fileID: 95348674} + player: {fileID: 95348671} --- !u!4 &1416366114 Transform: m_ObjectHideFlags: 0 @@ -999,13 +1159,88 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} --- !u!1 &1417065444 stripped GameObject: m_CorrespondingSourceObject: {fileID: 7029954221290272535, guid: bb7ccf3dcb131ed4cbdc3e66d7f136a0, type: 3} m_PrefabInstance: {fileID: 7029954222161724659} m_PrefabAsset: {fileID: 0} +--- !u!1 &1636328659 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1636328660} + - component: {fileID: 1636328662} + - component: {fileID: 1636328661} + m_Layer: 5 + m_Name: List + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1636328660 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1636328659} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 560358380} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -203, y: 0} + m_SizeDelta: {x: -478.3077, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1636328661 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1636328659} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0.43137255} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1636328662 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1636328659} + m_CullTransparentMesh: 1 --- !u!1 &1814976973 GameObject: m_ObjectHideFlags: 0 @@ -1070,7 +1305,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 8 + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1861247503 GameObject: @@ -1117,7 +1352,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1861247507 MonoBehaviour: @@ -1144,6 +1379,71 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 3f1735c997ccb39408dfa8bf3790319f, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1001 &1669933259357868820 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 1669933259431883944, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_Name + value: FirstPerson Player + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalPosition.y + value: 21.77 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883947, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1669933259431883988, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: interactionText + value: + objectReference: {fileID: 114639929} + - target: {fileID: 1669933259431883989, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} + propertyPath: terrain + value: + objectReference: {fileID: 1417065444} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 3a99919bf4b126a4980ab89eb73d356b, type: 3} --- !u!1001 &7029954222161724659 PrefabInstance: m_ObjectHideFlags: 0 @@ -1153,7 +1453,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 7029954221290272534, guid: bb7ccf3dcb131ed4cbdc3e66d7f136a0, type: 3} propertyPath: m_RootOrder - value: 9 + value: 7 objectReference: {fileID: 0} - target: {fileID: 7029954221290272534, guid: bb7ccf3dcb131ed4cbdc3e66d7f136a0, type: 3} propertyPath: m_LocalPosition.x @@ -1202,213 +1502,3 @@ PrefabInstance: m_RemovedComponents: - {fileID: 7029954221290272539, guid: bb7ccf3dcb131ed4cbdc3e66d7f136a0, type: 3} m_SourcePrefab: {fileID: 100100000, guid: bb7ccf3dcb131ed4cbdc3e66d7f136a0, type: 3} ---- !u!1001 &8390537188401440993 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 95348673, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: terrain - value: - objectReference: {fileID: 1417065444} - - target: {fileID: 8390537187855206697, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_Layer - value: 8 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079435, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_Layer - value: 8 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079437, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: mouseSensitivityX - value: 600 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079437, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: mouseSensitivityY - value: 600 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079439, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_BackGroundColor.a - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079439, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_BackGroundColor.b - value: 0.9528302 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079439, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_BackGroundColor.g - value: 0.48865005 - objectReference: {fileID: 0} - - target: {fileID: 8390537187866079439, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_BackGroundColor.r - value: 0.19326274 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327132961, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: interactionText - value: - objectReference: {fileID: 114639929} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: gravity - value: -9.86 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: airSpeed - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: jumpForce - value: 4 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: jumpHeight - value: 3.5 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: sneakSpeed - value: 0.7 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: sprintSpeed - value: 1.7 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: fallMultiplier - value: 1.8 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: sprintJumpSpeed - value: 10 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: sneakSpeedModifier - value: 0.6 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: jumpSprintSpeedModifier - value: 2000 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133021, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_Name - value: FirstPerson Player - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133021, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_Layer - value: 8 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133021, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_TagString - value: FPSPlayer - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_RootOrder - value: 5 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalPosition.y - value: 21.77 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537188327133022, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8390537189371922020, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_Layer - value: 8 - objectReference: {fileID: 0} - - target: {fileID: 8390537189371922023, guid: 6a86db7765f277243b912c20f451dc47, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 6a86db7765f277243b912c20f451dc47, type: 3} ---- !u!1001 &8944073591592410994 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 3699202177395613354, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_Name - value: Warehouse_level_1_construction - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalPosition.x - value: -1.0547132 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalPosition.y - value: 18.931429 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalPosition.z - value: 29.32705 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4043639190317171728, guid: e005a35428b0931408acff181f30550f, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: e005a35428b0931408acff181f30550f, type: 3}