diff --git a/Assets/Prefabs/Barricade.prefab b/Assets/Prefabs/Barricade.prefab index 9c74c5c..89d7969 100644 --- a/Assets/Prefabs/Barricade.prefab +++ b/Assets/Prefabs/Barricade.prefab @@ -12,6 +12,7 @@ GameObject: - component: {fileID: 1908658187181555171} - component: {fileID: 1402357855717081948} - component: {fileID: -852646611413746892} + - component: {fileID: -5643608589661246944} m_Layer: 0 m_Name: Barricade m_TagString: Spikes @@ -58,6 +59,9 @@ MonoBehaviour: - {fileID: 3952444572634493808} - {fileID: 4850250424701318178} - {fileID: 9095210850575404026} + pills: {fileID: 0} + prefabPills: {fileID: 0} + spawnPillsPoint: {x: 0, y: 0, z: 0} audioSource: {fileID: 0} doorSound: {fileID: 0} --- !u!208 &1402357855717081948 @@ -89,6 +93,39 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1, y: 1.5, z: 1} m_Center: {x: -0.05, y: 0.75, z: 0.5} +--- !u!114 &-5643608589661246944 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1999182813209888360} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 0 --- !u!1001 &8380342326956505725 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Enemy.prefab b/Assets/Prefabs/Enemy.prefab index 233152c..42c652c 100644 --- a/Assets/Prefabs/Enemy.prefab +++ b/Assets/Prefabs/Enemy.prefab @@ -14,6 +14,8 @@ GameObject: - component: {fileID: 5433357422100294214} - component: {fileID: 305547904} - component: {fileID: 1130753256873243990} + - component: {fileID: -1106775258915780782} + - component: {fileID: -7631853372346646392} m_Layer: 0 m_Name: Enemy m_TagString: Enemy @@ -234,6 +236,61 @@ AudioSource: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 +--- !u!114 &-1106775258915780782 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3545622996904709018} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 0 +--- !u!114 &-7631853372346646392 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3545622996904709018} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TransformSyncMode: 1 + m_SendInterval: 0.1 + m_SyncRotationAxis: 7 + m_RotationSyncCompression: 0 + m_SyncSpin: 0 + m_MovementTheshold: 0.001 + m_VelocityThreshold: 0.0001 + m_SnapThreshold: 5 + m_InterpolateRotation: 1 + m_InterpolateMovement: 1 --- !u!1001 &3163490712589900750 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab index b9f16fc..1846100 100644 --- a/Assets/Prefabs/Player.prefab +++ b/Assets/Prefabs/Player.prefab @@ -1,5 +1,883 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &443694932 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 443694933} + - component: {fileID: 443694935} + - component: {fileID: 443694934} + m_Layer: 5 + m_Name: Image (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &443694933 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 443694932} + 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: 1327297297} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -40, y: 40} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 1, y: 0} +--- !u!222 &443694935 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 443694932} + m_CullTransparentMesh: 0 +--- !u!114 &443694934 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 443694932} + 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: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 52012760a1df8ad4facb31c66d6bfaec, type: 3} + m_Type: 0 + 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!1 &562374830 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 562374833} + - component: {fileID: 562374832} + - component: {fileID: 562374831} + m_Layer: 5 + m_Name: FullBar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &562374833 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 562374830} + 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: 1191888897} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 128, y: 32} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &562374832 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 562374830} + m_CullTransparentMesh: 0 +--- !u!114 &562374831 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 562374830} + 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: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 0afbe6d181e85ec46b1903b8302694dc, type: 3} + m_Type: 3 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &587476769 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 587476773} + - component: {fileID: 587476772} + - component: {fileID: 587476771} + - component: {fileID: 587476770} + - component: {fileID: 587476774} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &587476773 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587476769} + 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: 1692949638} + - {fileID: 1327297297} + - {fileID: 1191888897} + - {fileID: 1368020646} + m_Father: {fileID: 7985979212931499549} + m_RootOrder: 3 + 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!223 &587476772 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587476769} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 1 + m_Camera: {fileID: 7985979213387740677} + m_PlaneDistance: 0.4 + 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!114 &587476771 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587476769} + 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: 1024, y: 768} + m_ScreenMatchMode: 2 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!114 &587476770 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587476769} + 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 &587476774 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 587476769} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bf7c21fb1460b1e4daff635c9600870f, type: 3} + m_Name: + m_EditorClassIdentifier: + InteractIcon: {fileID: 1692949637} + Wood: {fileID: 863154880} + Ammo: {fileID: 802293425} + healthBar: {fileID: 562374831} + waves: {fileID: 1942255809} +--- !u!1 &802293424 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 802293427} + - component: {fileID: 802293426} + - component: {fileID: 802293425} + m_Layer: 5 + m_Name: Text (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &802293427 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 802293424} + 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: 1327297297} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 40, y: 40} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 0, y: 0} +--- !u!222 &802293426 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 802293424} + m_CullTransparentMesh: 0 +--- !u!114 &802293425 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 802293424} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: adcab70c6db28d648922f97e27d1c41b, type: 3} + m_FontSize: 60 + m_FontStyle: 1 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 60 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 50 +--- !u!1 &863154877 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 863154878} + - component: {fileID: 863154879} + - component: {fileID: 863154880} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &863154878 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 863154877} + 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: 1327297297} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 40, y: -40} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 0, y: 1} +--- !u!222 &863154879 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 863154877} + m_CullTransparentMesh: 0 +--- !u!114 &863154880 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 863154877} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: adcab70c6db28d648922f97e27d1c41b, type: 3} + m_FontSize: 60 + m_FontStyle: 1 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 60 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 50 +--- !u!1 &1191888896 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1191888897} + - component: {fileID: 1191888899} + - component: {fileID: 1191888898} + m_Layer: 5 + m_Name: EmptyBar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1191888897 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1191888896} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 3, y: 3, z: 3} + m_Children: + - {fileID: 562374833} + m_Father: {fileID: 587476773} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 128, y: 32} + m_Pivot: {x: 0.5, y: 1} +--- !u!222 &1191888899 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1191888896} + m_CullTransparentMesh: 0 +--- !u!114 &1191888898 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1191888896} + 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: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 9c3e1b96b409d274fa493ff710441985, type: 3} + m_Type: 0 + 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!1 &1327297296 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1327297297} + - component: {fileID: 1327297299} + - component: {fileID: 1327297298} + m_Layer: 5 + m_Name: WoodAndAmmo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1327297297 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1327297296} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} + m_Children: + - {fileID: 863154878} + - {fileID: 802293427} + - {fileID: 2093621605} + - {fileID: 443694933} + m_Father: {fileID: 587476773} + m_RootOrder: 1 + 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: 400, y: 400} + m_Pivot: {x: 0, y: 0} +--- !u!222 &1327297299 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1327297296} + m_CullTransparentMesh: 0 +--- !u!114 &1327297298 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1327297296} + 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: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: aca2defce6c6d644bb6e1a60a2ddae23, type: 3} + 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!1 &1368020645 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1368020646} + - component: {fileID: 1368020648} + - component: {fileID: 1368020647} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1368020646 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1368020645} + 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: 1942255811} + m_Father: {fileID: 587476773} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: -70} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 1} +--- !u!222 &1368020648 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1368020645} + m_CullTransparentMesh: 0 +--- !u!114 &1368020647 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1368020645} + 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: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: aca2defce6c6d644bb6e1a60a2ddae23, type: 3} + m_Type: 0 + 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!1 &1692949637 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1692949638} + - component: {fileID: 1692949640} + - component: {fileID: 1692949639} + m_Layer: 5 + m_Name: Interact + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &1692949638 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1692949637} + 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: 587476773} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 70, y: 70} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1692949640 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1692949637} + m_CullTransparentMesh: 0 +--- !u!114 &1692949639 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1692949637} + 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: 1, g: 1, b: 1, a: 0.5294118} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 53484c385de7af24a87aa73334775b28, type: 3} + m_Type: 0 + 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!1 &1942255808 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1942255811} + - component: {fileID: 1942255810} + - component: {fileID: 1942255809} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1942255811 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1942255808} + 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: 1368020646} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: -3.8} + m_SizeDelta: {x: 130, y: 24} + m_Pivot: {x: 0.5, y: 1} +--- !u!222 &1942255810 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1942255808} + m_CullTransparentMesh: 0 +--- !u!114 &1942255809 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1942255808} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 20 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 40 + m_Alignment: 1 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!1 &2093621604 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2093621605} + - component: {fileID: 2093621607} + - component: {fileID: 2093621606} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2093621605 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2093621604} + 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: 1327297297} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -40, y: -40} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 1, y: 1} +--- !u!222 &2093621607 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2093621604} + m_CullTransparentMesh: 0 +--- !u!114 &2093621606 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2093621604} + 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: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 3893b3934f22d9f48b4f9371edbe6706, type: 3} + m_Type: 0 + 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!1 &2869120797490038585 GameObject: m_ObjectHideFlags: 0 @@ -26,11 +904,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2869120797490038585} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: 0, y: 1.796, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 7985979212931499549} - m_RootOrder: 1 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!82 &5981860502065413816 AudioSource: @@ -44,7 +922,7 @@ AudioSource: OutputAudioMixerGroup: {fileID: 0} m_audioClip: {fileID: 0} m_PlayOnAwake: 1 - m_Volume: 0.05 + m_Volume: 0.08 m_Pitch: 1 Loop: 0 Mute: 0 @@ -144,6 +1022,85 @@ MonoBehaviour: DayMusic: {fileID: 8300000, guid: dbd637c87d6302e47b3dc18075b6de89, type: 3} NightMusic: {fileID: 8300000, guid: 2565765545848aa4daee89afd5ea506b, type: 3} Sun: {fileID: 0} +--- !u!1 &7184644140778461251 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 551535862875738958} + - component: {fileID: 3978477516929438108} + - component: {fileID: 4321726632572120555} + m_Layer: 0 + m_Name: Capsule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &551535862875738958 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7184644140778461251} + 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_Children: [] + m_Father: {fileID: 7985979212931499549} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3978477516929438108 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7184644140778461251} + m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &4321726632572120555 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7184644140778461251} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 --- !u!1 &7985979212931499537 GameObject: m_ObjectHideFlags: 0 @@ -157,6 +1114,8 @@ GameObject: - component: {fileID: 7985979212931499551} - component: {fileID: 7985979212931499550} - component: {fileID: 532783939} + - component: {fileID: 698766928205965240} + - component: {fileID: -7154254539095039739} m_Layer: 0 m_Name: Player m_TagString: Player @@ -175,8 +1134,10 @@ Transform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: + - {fileID: 551535862875738958} - {fileID: 7985979213387740674} - {fileID: 6900128296167351179} + - {fileID: 587476773} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -205,12 +1166,13 @@ MonoBehaviour: - {fileID: 2179056336067526865, guid: 666835f3de085f9409e62598a45208bf, type: 3} - {fileID: 2587956328074680696, guid: 4ce5febc0b514174abbed9882322d1ed, type: 3} - {fileID: 7279375804173823597, guid: f7f441e621e5e5f40b11b7617756a0af, type: 3} + player: {fileID: 7184644140778461251} spikes: {fileID: 1999182813209888360, guid: 7933df0606f61e94e9008c58a313b22c, type: 3} spikesImage: {fileID: 21300000, guid: 4962f21e920045b47be23a8e53f5716b, type: 3} handImage: {fileID: 21300000, guid: 53484c385de7af24a87aa73334775b28, type: 3} - guiManager: {fileID: 0} + guiManager: {fileID: 587476774} selectedWeapon: 0 - audio: {fileID: 532783939} + audio: {fileID: 5981860502065413816} lose: {fileID: 8300000, guid: 82c454fc5bd3770438a50747eec0fc06, type: 3} --- !u!136 &7985979212931499551 CapsuleCollider: @@ -254,15 +1216,15 @@ AudioSource: OutputAudioMixerGroup: {fileID: 0} m_audioClip: {fileID: 0} m_PlayOnAwake: 1 - m_Volume: 0.5 + m_Volume: 1 m_Pitch: 1 Loop: 0 Mute: 0 Spatialize: 0 SpatializePostEffects: 0 - Priority: 128 + Priority: 0 DopplerLevel: 1 - MinDistance: 1 + MinDistance: 3.2005157 MaxDistance: 500 Pan2D: 0 rolloffMode: 0 @@ -298,7 +1260,7 @@ AudioSource: m_Curve: - serializedVersion: 3 time: 0 - value: 0 + value: 1 inSlope: 0 outSlope: 0 tangentMode: 0 @@ -338,6 +1300,61 @@ AudioSource: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 +--- !u!114 &698766928205965240 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7985979212931499537} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 1 +--- !u!114 &-7154254539095039739 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7985979212931499537} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TransformSyncMode: 3 + m_SendInterval: 0.1 + m_SyncRotationAxis: 7 + m_RotationSyncCompression: 0 + m_SyncSpin: 0 + m_MovementTheshold: 0.001 + m_VelocityThreshold: 0.0001 + m_SnapThreshold: 5 + m_InterpolateRotation: 1 + m_InterpolateMovement: 1 --- !u!1 &7985979213387740679 GameObject: m_ObjectHideFlags: 0 @@ -369,7 +1386,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 7985979212931499549} - m_RootOrder: 0 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!20 &7985979213387740677 Camera: diff --git a/Assets/Prefabs/Weapon_1.prefab b/Assets/Prefabs/Weapon_1.prefab index e20200c..24f9aec 100644 --- a/Assets/Prefabs/Weapon_1.prefab +++ b/Assets/Prefabs/Weapon_1.prefab @@ -11,6 +11,8 @@ GameObject: - component: {fileID: 2179056336067526864} - component: {fileID: 5029589411118839234} - component: {fileID: -1682145434106595162} + - component: {fileID: -4812453449629096291} + - component: {fileID: 324807938290565329} m_Layer: 0 m_Name: Weapon_1 m_TagString: Untagged @@ -156,6 +158,61 @@ AudioSource: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 +--- !u!114 &-4812453449629096291 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2179056336067526865} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 0 +--- !u!114 &324807938290565329 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2179056336067526865} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TransformSyncMode: 1 + m_SendInterval: 0.1 + m_SyncRotationAxis: 7 + m_RotationSyncCompression: 0 + m_SyncSpin: 0 + m_MovementTheshold: 0.001 + m_VelocityThreshold: 0.0001 + m_SnapThreshold: 5 + m_InterpolateRotation: 1 + m_InterpolateMovement: 1 --- !u!1 &4234349944776735638 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Weapon_2.prefab b/Assets/Prefabs/Weapon_2.prefab index 124edf0..d128b40 100644 --- a/Assets/Prefabs/Weapon_2.prefab +++ b/Assets/Prefabs/Weapon_2.prefab @@ -82,6 +82,8 @@ GameObject: m_Component: - component: {fileID: 3334427446306061280} - component: {fileID: 1761053192678653939} + - component: {fileID: 8355987566146488298} + - component: {fileID: 7274561245174757688} m_Layer: 0 m_Name: Weapon_2 m_TagString: Meele @@ -128,6 +130,61 @@ MonoBehaviour: hit: 0 audioSource: {fileID: 0} shootSound: [] +--- !u!114 &8355987566146488298 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2587956328074680696} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 0 +--- !u!114 &7274561245174757688 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2587956328074680696} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TransformSyncMode: 1 + m_SendInterval: 0.1 + m_SyncRotationAxis: 7 + m_RotationSyncCompression: 0 + m_SyncSpin: 0 + m_MovementTheshold: 0.001 + m_VelocityThreshold: 0.0001 + m_SnapThreshold: 5 + m_InterpolateRotation: 1 + m_InterpolateMovement: 1 --- !u!1001 &8629712593250585003 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Weapon_3.prefab b/Assets/Prefabs/Weapon_3.prefab index 997206f..9e4d242 100644 --- a/Assets/Prefabs/Weapon_3.prefab +++ b/Assets/Prefabs/Weapon_3.prefab @@ -133,6 +133,8 @@ GameObject: - component: {fileID: 3983516630253985952} - component: {fileID: 5631586117258678227} - component: {fileID: 927444460630549385} + - component: {fileID: -6848633620688181860} + - component: {fileID: -8001563178278330599} m_Layer: 0 m_Name: Weapon_3 m_TagString: Untagged @@ -279,6 +281,61 @@ AudioSource: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 +--- !u!114 &-6848633620688181860 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7279375804173823597} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 0 +--- !u!114 &-8001563178278330599 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7279375804173823597} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TransformSyncMode: 1 + m_SendInterval: 0.1 + m_SyncRotationAxis: 7 + m_RotationSyncCompression: 0 + m_SyncSpin: 0 + m_MovementTheshold: 0.001 + m_VelocityThreshold: 0.0001 + m_SnapThreshold: 5 + m_InterpolateRotation: 1 + m_InterpolateMovement: 1 --- !u!1001 &6913402413332405231 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/wending_machine.prefab b/Assets/Prefabs/wending_machine.prefab new file mode 100644 index 0000000..2fb2d45 --- /dev/null +++ b/Assets/Prefabs/wending_machine.prefab @@ -0,0 +1,82 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3192387890708010329 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2812061959264440291} + - component: {fileID: 1200676484660297798} + - component: {fileID: 3984946451930641548} + m_Layer: 0 + m_Name: wending_machine + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2812061959264440291 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3192387890708010329} + m_LocalRotation: {x: -0.49991274, y: -0.50008726, z: -0.49991274, w: 0.50008726} + m_LocalPosition: {x: 7.806511, y: -0.027989946, z: 5.011112} + m_LocalScale: {x: 0.3, y: 0.3, z: 0.3} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: -89.98, y: -90, z: 0} +--- !u!33 &1200676484660297798 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3192387890708010329} + m_Mesh: {fileID: -5495902117074765545, guid: 94e9124decc2308458e44b1cb4a3a953, type: 3} +--- !u!23 &3984946451930641548 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3192387890708010329} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: -876546973899608171, guid: 94e9124decc2308458e44b1cb4a3a953, type: 3} + - {fileID: -9033468472196382676, guid: 94e9124decc2308458e44b1cb4a3a953, type: 3} + 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 diff --git a/Assets/Prefabs/wending_machine.prefab.meta b/Assets/Prefabs/wending_machine.prefab.meta new file mode 100644 index 0000000..c7f9e8d --- /dev/null +++ b/Assets/Prefabs/wending_machine.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ca95de52919e65947ae92661156016cd +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/MenuScene.unity b/Assets/Scenes/MenuScene.unity new file mode 100644 index 0000000..348d467 --- /dev/null +++ b/Assets/Scenes/MenuScene.unity @@ -0,0 +1,433 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &586364705 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 586364707} + - component: {fileID: 586364706} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &586364706 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 586364705} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 1 + m_Shape: 0 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &586364707 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 586364705} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1 &603318796 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 603318799} + - component: {fileID: 603318798} + - component: {fileID: 603318797} + 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 &603318797 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 603318796} + m_Enabled: 1 +--- !u!20 &603318798 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 603318796} + 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 &603318799 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 603318796} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &936669609 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 936669612} + - component: {fileID: 936669611} + - component: {fileID: 936669610} + m_Layer: 0 + m_Name: NetworkManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &936669610 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 936669609} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4394a3eef724546f896557197e2d6c44, type: 3} + m_Name: + m_EditorClassIdentifier: + manager: {fileID: 0} + showGUI: 1 + offsetX: 0 + offsetY: 0 +--- !u!114 &936669611 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 936669609} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 10c2fd873b12541b392f10ecc4846574, type: 3} + m_Name: + m_EditorClassIdentifier: + m_NetworkPort: 7777 + m_ServerBindToIP: 0 + m_ServerBindAddress: + m_NetworkAddress: localhost + m_DontDestroyOnLoad: 1 + m_RunInBackground: 1 + m_ScriptCRCCheck: 1 + m_MaxDelay: 0.01 + m_LogLevel: 2 + m_PlayerPrefab: {fileID: 7985979212931499537, guid: 204c7411afdd01a478b1a1e25607d50c, + type: 3} + m_AutoCreatePlayer: 1 + m_PlayerSpawnMethod: 1 + m_OfflineScene: MenuScene + m_OnlineScene: PlayScene + m_SpawnPrefabs: + - {fileID: 2179056336067526865, guid: 666835f3de085f9409e62598a45208bf, type: 3} + - {fileID: 2587956328074680696, guid: 4ce5febc0b514174abbed9882322d1ed, type: 3} + - {fileID: 7279375804173823597, guid: f7f441e621e5e5f40b11b7617756a0af, type: 3} + - {fileID: 1999182813209888360, guid: 7933df0606f61e94e9008c58a313b22c, type: 3} + m_CustomConfig: 0 + m_MaxConnections: 4 + m_ConnectionConfig: + m_PacketSize: 1440 + m_FragmentSize: 500 + m_ResendTimeout: 1200 + m_DisconnectTimeout: 2000 + m_ConnectTimeout: 2000 + m_MinUpdateTimeout: 10 + m_PingTimeout: 500 + m_ReducedPingTimeout: 100 + m_AllCostTimeout: 20 + m_NetworkDropThreshold: 5 + m_OverflowDropThreshold: 5 + m_MaxConnectionAttempt: 10 + m_AckDelay: 33 + m_SendDelay: 10 + m_MaxCombinedReliableMessageSize: 100 + m_MaxCombinedReliableMessageCount: 10 + m_MaxSentMessageQueueSize: 512 + m_AcksType: 1 + m_UsePlatformSpecificProtocols: 0 + m_InitialBandwidth: 0 + m_BandwidthPeakFactor: 2 + m_WebSocketReceiveBufferMaxSize: 0 + m_UdpSocketReceiveBufferMaxSize: 0 + m_SSLCertFilePath: + m_SSLPrivateKeyFilePath: + m_SSLCAFilePath: + m_Channels: [] + m_GlobalConfig: + m_ThreadAwakeTimeout: 1 + m_ReactorModel: 0 + m_ReactorMaximumReceivedMessages: 1024 + m_ReactorMaximumSentMessages: 1024 + m_MaxPacketSize: 2000 + m_MaxHosts: 16 + m_ThreadPoolSize: 1 + m_MinTimerTimeout: 1 + m_MaxTimerTimeout: 12000 + m_MinNetSimulatorTimeout: 1 + m_MaxNetSimulatorTimeout: 12000 + m_Channels: + m_UseWebSockets: 0 + m_UseSimulator: 0 + m_SimulatedLatency: 1 + m_PacketLossPercentage: 0 + m_MaxBufferedPackets: 16 + m_AllowFragmentation: 1 + m_MatchHost: mm.unet.unity3d.com + m_MatchPort: 443 + matchName: default + matchSize: 4 + isNetworkActive: 0 + matchMaker: {fileID: 0} +--- !u!4 &936669612 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 936669609} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 7.438138, y: 2.0852757, z: 0.5215615} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/MenuScene.unity.meta b/Assets/Scenes/MenuScene.unity.meta new file mode 100644 index 0000000..9ce9ac8 --- /dev/null +++ b/Assets/Scenes/MenuScene.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 93b4889ad6e03cc43adabc934cacfde3 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/PlayScene.unity b/Assets/Scenes/PlayScene.unity index 110cedb..10cf013 100644 --- a/Assets/Scenes/PlayScene.unity +++ b/Assets/Scenes/PlayScene.unity @@ -121,6 +121,36 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 23800000, guid: 210c0a45ca7dddb429c704640ac83479, type: 2} +--- !u!1 &19216027 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 19216028} + m_Layer: 0 + m_Name: Point + m_TagString: Untagged + m_Icon: {fileID: 7174288486110832750, guid: 0000000000000000d000000000000000, type: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &19216028 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 19216027} + 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_Children: [] + m_Father: {fileID: 2052473053} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &158086489 PrefabInstance: m_ObjectHideFlags: 0 @@ -309,7 +339,7 @@ PrefabInstance: - target: {fileID: 1064119418816636838, guid: d2947b7cd556cb74f84ecd7339936f32, type: 3} propertyPath: m_RootOrder - value: 27 + value: 26 objectReference: {fileID: 0} - target: {fileID: 1064119418816636838, guid: d2947b7cd556cb74f84ecd7339936f32, type: 3} @@ -378,7 +408,7 @@ PrefabInstance: - target: {fileID: 1064119418816636838, guid: d2947b7cd556cb74f84ecd7339936f32, type: 3} propertyPath: m_RootOrder - value: 28 + value: 27 objectReference: {fileID: 0} - target: {fileID: 1064119418816636838, guid: d2947b7cd556cb74f84ecd7339936f32, type: 3} @@ -397,79 +427,6 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: d2947b7cd556cb74f84ecd7339936f32, type: 3} ---- !u!1 &443694932 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 443694933} - - component: {fileID: 443694935} - - component: {fileID: 443694934} - m_Layer: 5 - m_Name: Image (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &443694933 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 443694932} - 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: 1327297297} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -40, y: 40} - m_SizeDelta: {x: 150, y: 150} - m_Pivot: {x: 1, y: 0} ---- !u!114 &443694934 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 443694932} - 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: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 52012760a1df8ad4facb31c66d6bfaec, type: 3} - m_Type: 0 - 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 &443694935 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 443694932} - m_CullTransparentMesh: 0 --- !u!1 &462335046 stripped GameObject: m_CorrespondingSourceObject: {fileID: 4695666576454475813, guid: b5a9b7f0ff35a024b974960e652c8e33, @@ -486,7 +443,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 4493585093827132993, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3} @@ -722,12 +679,6 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f614b02c1b25fce4ba5bee61a982ff4f, type: 3} ---- !u!82 &532783939 stripped -AudioSource: - m_CorrespondingSourceObject: {fileID: 532783939, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - m_PrefabInstance: {fileID: 7985979212702423926} - m_PrefabAsset: {fileID: 0} --- !u!1 &547068339 GameObject: m_ObjectHideFlags: 0 @@ -820,199 +771,6 @@ Light: m_UseBoundingSphereOverride: 0 m_ShadowRadius: 0 m_ShadowAngle: 0 ---- !u!1 &562374830 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 562374833} - - component: {fileID: 562374832} - - component: {fileID: 562374831} - m_Layer: 5 - m_Name: FullBar - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &562374831 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 562374830} - 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: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 0afbe6d181e85ec46b1903b8302694dc, type: 3} - m_Type: 3 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 0 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &562374832 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 562374830} - m_CullTransparentMesh: 0 ---- !u!224 &562374833 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 562374830} - 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: 1191888897} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 128, y: 32} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &587476769 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 587476773} - - component: {fileID: 587476772} - - component: {fileID: 587476771} - - component: {fileID: 587476770} - - component: {fileID: 587476774} - m_Layer: 5 - m_Name: Canvas - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &587476770 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 587476769} - 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 &587476771 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 587476769} - 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: 1024, y: 768} - m_ScreenMatchMode: 2 - m_MatchWidthOrHeight: 0 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 ---- !u!223 &587476772 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 587476769} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 1 - m_Camera: {fileID: 1254913617} - m_PlaneDistance: 0.4 - 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 &587476773 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 587476769} - 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: 1692949638} - - {fileID: 1327297297} - - {fileID: 1191888897} - - {fileID: 1368020646} - m_Father: {fileID: 0} - m_RootOrder: 38 - 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!114 &587476774 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 587476769} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: bf7c21fb1460b1e4daff635c9600870f, type: 3} - m_Name: - m_EditorClassIdentifier: - InteractIcon: {fileID: 1692949637} - Wood: {fileID: 863154880} - Ammo: {fileID: 802293425} - healthBar: {fileID: 562374831} - waves: {fileID: 1942255809} --- !u!1001 &591872493 PrefabInstance: m_ObjectHideFlags: 0 @@ -1357,7 +1115,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} @@ -1420,7 +1178,7 @@ Transform: m_LocalScale: {x: 100, y: 100, z: 100} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 39 + m_RootOrder: 37 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &787940993 PrefabInstance: @@ -1496,166 +1254,6 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f614b02c1b25fce4ba5bee61a982ff4f, type: 3} ---- !u!1 &802293424 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 802293427} - - component: {fileID: 802293426} - - component: {fileID: 802293425} - m_Layer: 5 - m_Name: Text (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &802293425 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 802293424} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 12800000, guid: adcab70c6db28d648922f97e27d1c41b, type: 3} - m_FontSize: 60 - m_FontStyle: 1 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 60 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: 50 ---- !u!222 &802293426 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 802293424} - m_CullTransparentMesh: 0 ---- !u!224 &802293427 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 802293424} - 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: 1327297297} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 40, y: 40} - m_SizeDelta: {x: 150, y: 150} - m_Pivot: {x: 0, y: 0} ---- !u!82 &824965140 stripped -AudioSource: - m_CorrespondingSourceObject: {fileID: 5981860502065413816, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - m_PrefabInstance: {fileID: 7985979212702423926} - m_PrefabAsset: {fileID: 0} ---- !u!1 &863154877 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 863154878} - - component: {fileID: 863154879} - - component: {fileID: 863154880} - m_Layer: 5 - m_Name: Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &863154878 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 863154877} - 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: 1327297297} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 40, y: -40} - m_SizeDelta: {x: 150, y: 150} - m_Pivot: {x: 0, y: 1} ---- !u!222 &863154879 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 863154877} - m_CullTransparentMesh: 0 ---- !u!114 &863154880 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 863154877} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 12800000, guid: adcab70c6db28d648922f97e27d1c41b, type: 3} - m_FontSize: 60 - m_FontStyle: 1 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 60 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: 50 --- !u!1001 &897547358 PrefabInstance: m_ObjectHideFlags: 0 @@ -2011,7 +1609,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 35 + m_RootOrder: 34 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!4 &1131703976 stripped Transform: @@ -6773,80 +6371,6 @@ Transform: m_Father: {fileID: 2147251240} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1191888896 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1191888897} - - component: {fileID: 1191888899} - - component: {fileID: 1191888898} - m_Layer: 5 - m_Name: EmptyBar - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1191888897 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1191888896} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 3, y: 3, z: 3} - m_Children: - - {fileID: 562374833} - m_Father: {fileID: 587476773} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 128, y: 32} - m_Pivot: {x: 0.5, y: 1} ---- !u!114 &1191888898 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1191888896} - 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: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 9c3e1b96b409d274fa493ff710441985, type: 3} - m_Type: 0 - 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 &1191888899 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1191888896} - m_CullTransparentMesh: 0 --- !u!1001 &1192908001 PrefabInstance: m_ObjectHideFlags: 0 @@ -6957,93 +6481,10 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 1 m_CookingOptions: 30 m_Mesh: {fileID: -5495902117074765545, guid: 01af5eaeb15b4cf469b3d5c80775fd22, type: 3} ---- !u!20 &1254913617 stripped -Camera: - m_CorrespondingSourceObject: {fileID: 7985979213387740677, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - m_PrefabInstance: {fileID: 7985979212702423926} - m_PrefabAsset: {fileID: 0} ---- !u!1 &1327297296 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1327297297} - - component: {fileID: 1327297299} - - component: {fileID: 1327297298} - m_Layer: 5 - m_Name: WoodAndAmmo - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1327297297 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1327297296} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} - m_Children: - - {fileID: 863154878} - - {fileID: 802293427} - - {fileID: 2093621605} - - {fileID: 443694933} - m_Father: {fileID: 587476773} - m_RootOrder: 1 - 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: 400, y: 400} - m_Pivot: {x: 0, y: 0} ---- !u!114 &1327297298 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1327297296} - 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: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: aca2defce6c6d644bb6e1a60a2ddae23, type: 3} - 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 &1327297299 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1327297296} - m_CullTransparentMesh: 0 --- !u!1 &1345459422 stripped GameObject: m_CorrespondingSourceObject: {fileID: 8150345748488139401, guid: b5bdffdb5058d5e458831042023d3abc, @@ -7062,80 +6503,6 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 19bf5b78376a3b94882c1e26afe7c633, type: 3} m_Name: m_EditorClassIdentifier: ---- !u!1 &1368020645 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1368020646} - - component: {fileID: 1368020648} - - component: {fileID: 1368020647} - m_Layer: 5 - m_Name: Panel - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1368020646 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1368020645} - 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: 1942255811} - m_Father: {fileID: 587476773} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -70} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 1} ---- !u!114 &1368020647 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1368020645} - 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: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: aca2defce6c6d644bb6e1a60a2ddae23, type: 3} - m_Type: 0 - 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 &1368020648 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1368020645} - m_CullTransparentMesh: 0 --- !u!1001 &1433009970 PrefabInstance: m_ObjectHideFlags: 0 @@ -7390,83 +6757,10 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -5495902117074765545, guid: ec72b044b4a1b8848bcd8dec5bfb74f5, type: 3} ---- !u!1 &1692949637 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1692949638} - - component: {fileID: 1692949640} - - component: {fileID: 1692949639} - m_Layer: 5 - m_Name: Interact - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &1692949638 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1692949637} - 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: 587476773} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 70, y: 70} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1692949639 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1692949637} - 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: 1, g: 1, b: 1, a: 0.5294118} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 53484c385de7af24a87aa73334775b28, type: 3} - m_Type: 0 - 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 &1692949640 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1692949637} - m_CullTransparentMesh: 0 --- !u!1 &1753935063 GameObject: m_ObjectHideFlags: 0 @@ -7541,7 +6835,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 34 + m_RootOrder: 33 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1765588425 PrefabInstance: @@ -7693,7 +6987,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 37 + m_RootOrder: 36 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1814508279 stripped GameObject: @@ -7711,7 +7005,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -5495902117074765545, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3} @@ -7915,7 +7209,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 36 + m_RootOrder: 35 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1922663893 PrefabInstance: @@ -7928,7 +7222,7 @@ PrefabInstance: type: 3} propertyPath: mainSource value: - objectReference: {fileID: 532783939} + objectReference: {fileID: 0} - target: {fileID: 5536355216553759363, guid: b5bdffdb5058d5e458831042023d3abc, type: 3} propertyPath: dayClip @@ -7948,7 +7242,7 @@ PrefabInstance: type: 3} propertyPath: guiManager value: - objectReference: {fileID: 587476774} + objectReference: {fileID: 0} - target: {fileID: 8150345748488139401, guid: b5bdffdb5058d5e458831042023d3abc, type: 3} propertyPath: m_Name @@ -8077,7 +7371,7 @@ PrefabInstance: - target: {fileID: 8150345748488139403, guid: b5bdffdb5058d5e458831042023d3abc, type: 3} propertyPath: m_RootOrder - value: 32 + value: 31 objectReference: {fileID: 0} - target: {fileID: 8150345748488139403, guid: b5bdffdb5058d5e458831042023d3abc, type: 3} @@ -8170,7 +7464,7 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f614b02c1b25fce4ba5bee61a982ff4f, type: 3} ---- !u!1 &1942255808 +--- !u!1 &2052473051 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -8178,75 +7472,42 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 1942255811} - - component: {fileID: 1942255810} - - component: {fileID: 1942255809} - m_Layer: 5 - m_Name: Text + - component: {fileID: 2052473053} + - component: {fileID: 2052473052} + m_Layer: 0 + m_Name: Spawn_player m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &1942255809 +--- !u!114 &2052473052 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1942255808} + m_GameObject: {fileID: 2052473051} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Script: {fileID: 11500000, guid: 921ceb7939c624969a567b4c88e17315, type: 3} m_Name: m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 20 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 1 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: ---- !u!222 &1942255810 -CanvasRenderer: +--- !u!4 &2052473053 +Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1942255808} - m_CullTransparentMesh: 0 ---- !u!224 &1942255811 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1942255808} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_GameObject: {fileID: 2052473051} + 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: 1368020646} - m_RootOrder: 0 + m_Children: + - {fileID: 19216028} + m_Father: {fileID: 0} + m_RootOrder: 39 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -3.8} - m_SizeDelta: {x: 130, y: 24} - m_Pivot: {x: 0.5, y: 1} --- !u!1 &2079126252 stripped GameObject: m_CorrespondingSourceObject: {fileID: 835007492758508419, guid: 5322794fa1699704b8e50a14cef106b1, @@ -8269,79 +7530,6 @@ NavMeshObstacle: m_CarveOnlyStationary: 1 m_Center: {x: 2.8100002, y: 0, z: -0.93200004} m_TimeToStationary: 0.5 ---- !u!1 &2093621604 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2093621605} - - component: {fileID: 2093621607} - - component: {fileID: 2093621606} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2093621605 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2093621604} - 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: 1327297297} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -40, y: -40} - m_SizeDelta: {x: 150, y: 150} - m_Pivot: {x: 1, y: 1} ---- !u!114 &2093621606 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2093621604} - 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: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 3893b3934f22d9f48b4f9371edbe6706, type: 3} - m_Type: 0 - 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 &2093621607 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2093621604} - m_CullTransparentMesh: 0 --- !u!1 &2147251238 GameObject: m_ObjectHideFlags: 0 @@ -8388,7 +7576,7 @@ Transform: m_Children: - {fileID: 1139190780} m_Father: {fileID: 0} - m_RootOrder: 33 + m_RootOrder: 32 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &2435173729303179787 PrefabInstance: @@ -8440,7 +7628,7 @@ PrefabInstance: - target: {fileID: 7255806235893078157, guid: 17027e96daa46634eac3c9bcf07b06b0, type: 3} propertyPath: m_RootOrder - value: 29 + value: 28 objectReference: {fileID: 0} - target: {fileID: 7255806235893078157, guid: 17027e96daa46634eac3c9bcf07b06b0, type: 3} @@ -8540,7 +7728,7 @@ PrefabInstance: type: 3} propertyPath: audioSource value: - objectReference: {fileID: 532783939} + objectReference: {fileID: 0} - target: {fileID: 8296172668023712162, guid: 907ad6f2d559dba4fa31dec92cfd86c0, type: 3} propertyPath: m_CarveOnlyStationary @@ -8688,7 +7876,7 @@ PrefabInstance: - target: {fileID: 3435627263884782622, guid: 51b65bc1216f2c4469761bc1039bfce1, type: 3} propertyPath: m_RootOrder - value: 40 + value: 38 objectReference: {fileID: 0} - target: {fileID: 3435627263884782622, guid: 51b65bc1216f2c4469761bc1039bfce1, type: 3} @@ -8826,7 +8014,7 @@ PrefabInstance: - target: {fileID: 759113255365536963, guid: a9ed136ba2be534419d4299db71802df, type: 3} propertyPath: m_RootOrder - value: 30 + value: 29 objectReference: {fileID: 0} - target: {fileID: 759113255365536963, guid: a9ed136ba2be534419d4299db71802df, type: 3} @@ -9036,7 +8224,7 @@ PrefabInstance: type: 3} propertyPath: audioSource value: - objectReference: {fileID: 532783939} + objectReference: {fileID: 0} - target: {fileID: 3520679535757810344, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} propertyPath: m_StaticEditorFlags @@ -9046,7 +8234,7 @@ PrefabInstance: type: 3} propertyPath: audioSource value: - objectReference: {fileID: 532783939} + objectReference: {fileID: 0} - target: {fileID: 3974723396677692687, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} propertyPath: m_StaticEditorFlags @@ -9185,7 +8373,7 @@ PrefabInstance: - target: {fileID: 7425287328957043289, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} propertyPath: m_RootOrder - value: 31 + value: 30 objectReference: {fileID: 0} - target: {fileID: 7425287328957043289, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} @@ -9211,7 +8399,7 @@ PrefabInstance: type: 3} propertyPath: audioSource value: - objectReference: {fileID: 532783939} + objectReference: {fileID: 0} - target: {fileID: 7896311156661354352, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} propertyPath: m_StaticEditorFlags @@ -9241,7 +8429,7 @@ PrefabInstance: type: 3} propertyPath: audioSource value: - objectReference: {fileID: 532783939} + objectReference: {fileID: 0} - target: {fileID: 8993526177235387292, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} propertyPath: m_StaticEditorFlags @@ -9263,116 +8451,6 @@ PrefabInstance: - {fileID: 4090411522576814766, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} - {fileID: 7851948758291723579, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 5322794fa1699704b8e50a14cef106b1, type: 3} ---- !u!1001 &7985979212702423926 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 532783939, guid: 204c7411afdd01a478b1a1e25607d50c, type: 3} - propertyPath: MinDistance - value: 3.2005157 - objectReference: {fileID: 0} - - target: {fileID: 532783939, guid: 204c7411afdd01a478b1a1e25607d50c, type: 3} - propertyPath: m_Volume - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 532783939, guid: 204c7411afdd01a478b1a1e25607d50c, type: 3} - propertyPath: Priority - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 532783939, guid: 204c7411afdd01a478b1a1e25607d50c, type: 3} - propertyPath: panLevelCustomCurve.m_Curve.Array.data[0].value - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4607742650766078089, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: Sun - value: - objectReference: {fileID: 1345459422} - - target: {fileID: 5981860502065413816, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_Volume - value: 0.08 - objectReference: {fileID: 0} - - target: {fileID: 6900128296167351179, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalPosition.y - value: 1.796 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499537, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_Name - value: Player - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499548, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: guiManager - value: - objectReference: {fileID: 587476774} - - target: {fileID: 7985979212931499548, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: audio - value: - objectReference: {fileID: 824965140} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalPosition.x - value: 0.43 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalPosition.y - value: 0.3 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_RootOrder - value: 26 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7985979212931499549, guid: 204c7411afdd01a478b1a1e25607d50c, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 204c7411afdd01a478b1a1e25607d50c, type: 3} --- !u!1001 &9169310669941808785 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Test-Haitem.unity b/Assets/Scenes/Test-Haitem.unity index dd7b5da..a5fc4eb 100644 --- a/Assets/Scenes/Test-Haitem.unity +++ b/Assets/Scenes/Test-Haitem.unity @@ -386,6 +386,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -423,7 +424,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 4493585093827132993, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3} @@ -629,6 +630,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -994,7 +996,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} @@ -1166,6 +1168,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -1270,6 +1273,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -6417,6 +6421,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -6543,7 +6548,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 1 m_CookingOptions: 30 m_Mesh: {fileID: -5495902117074765545, guid: 01af5eaeb15b4cf469b3d5c80775fd22, type: 3} @@ -6647,6 +6652,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -6871,7 +6877,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -5495902117074765545, guid: ec72b044b4a1b8848bcd8dec5bfb74f5, type: 3} @@ -6927,6 +6933,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 0.5294118} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] @@ -7191,7 +7198,7 @@ MeshCollider: m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 3 + serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -5495902117074765545, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3} @@ -7719,6 +7726,7 @@ MonoBehaviour: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 0 + m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] diff --git a/Assets/Scripts/BlockManager.cs b/Assets/Scripts/BlockManager.cs index 971661f..7704647 100644 --- a/Assets/Scripts/BlockManager.cs +++ b/Assets/Scripts/BlockManager.cs @@ -1,8 +1,9 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; +using UnityEngine.Networking; -public class BlockManager : MonoBehaviour +public class BlockManager : NetworkBehaviour { public enum BlockType {None, Barricade, Door, Wood, Ammo, FireCamp, Pills}; public BlockType blockType = BlockType.None; diff --git a/Assets/Scripts/EnemyManager.cs b/Assets/Scripts/EnemyManager.cs index 3c947c0..cb903c4 100644 --- a/Assets/Scripts/EnemyManager.cs +++ b/Assets/Scripts/EnemyManager.cs @@ -2,8 +2,9 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; +using UnityEngine.Networking; -public class EnemyManager : MonoBehaviour +public class EnemyManager : NetworkBehaviour { public float health = 100; public float damage = 10; @@ -32,6 +33,10 @@ public class EnemyManager : MonoBehaviour // Update is called once per frame void Update() { + if (!isServer) + { + return; + } DropBodyPart(); if (actualHealth <= 0) { @@ -59,6 +64,10 @@ public class EnemyManager : MonoBehaviour void FixedUpdate() { + if (!isServer) + { + return; + } if (actualHealth > 0 && barricadeManager == null) { Vector3 _dir = player.transform.position - transform.position; diff --git a/Assets/Scripts/GuiManager.cs b/Assets/Scripts/GuiManager.cs index b81c727..bc738b7 100644 --- a/Assets/Scripts/GuiManager.cs +++ b/Assets/Scripts/GuiManager.cs @@ -2,8 +2,9 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; +using UnityEngine.Networking; -public class GuiManager : MonoBehaviour +public class GuiManager : NetworkBehaviour { public GameObject InteractIcon; public Text Wood; diff --git a/Assets/Scripts/MusicManager.cs b/Assets/Scripts/MusicManager.cs index 308599d..d457e4c 100644 --- a/Assets/Scripts/MusicManager.cs +++ b/Assets/Scripts/MusicManager.cs @@ -1,8 +1,9 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; +using UnityEngine.Networking; -public class MusicManager : MonoBehaviour +public class MusicManager : NetworkBehaviour { public AudioSource musicSource; public AudioClip DayMusic; @@ -13,12 +14,20 @@ public class MusicManager : MonoBehaviour // Start is called before the first frame update void Start() { + if (!isLocalPlayer) + { + return; + } musicSource.PlayOneShot(DayMusic); } // Update is called once per frame void Update() { + if (!isLocalPlayer) + { + return; + } float sunRotationX = Sun.transform.localEulerAngles.x; sunRotationX = (sunRotationX > 180) ? sunRotationX - 360 : sunRotationX; diff --git a/Assets/Scripts/PlayerManager.cs b/Assets/Scripts/PlayerManager.cs index 40ef7fc..944174c 100644 --- a/Assets/Scripts/PlayerManager.cs +++ b/Assets/Scripts/PlayerManager.cs @@ -1,9 +1,10 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; +using UnityEngine.Networking; using UnityEngine.SceneManagement; -public class PlayerManager : MonoBehaviour +public class PlayerManager : NetworkBehaviour { public float speed = 8; @@ -20,6 +21,7 @@ public class PlayerManager : MonoBehaviour public int barricadeMaterials = 50; public int ammo = 50; public List weaponList = new List(); + public GameObject player; private GameObject createWeapon; public GameObject spikes; public Sprite spikesImage; @@ -42,6 +44,14 @@ public class PlayerManager : MonoBehaviour buildTime = buildRate; playerCamera = GetComponentInChildren(); rigidBody = GetComponent(); + if (isLocalPlayer) + { + player.SetActive(false); + } + else + { + GetComponentInChildren().enabled = false; + } Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; } @@ -49,6 +59,10 @@ public class PlayerManager : MonoBehaviour // Update is called once per frame void Update() { + if (!isLocalPlayer) + { + return; + } if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(0); @@ -59,7 +73,7 @@ public class PlayerManager : MonoBehaviour RunSwitch(); SelectWeapon(); Interact(); - + if (actualHealth <= 0) { if (audio != null && lose != null && (nextMapeTime2 + 1) <= Time.time) @@ -73,7 +87,8 @@ public class PlayerManager : MonoBehaviour audio.PlayOneShot(lose); nextMapeTime2 = nextMapeTime + Time.time; } - if (nextMapeTime2 <= Time.time) { + if (nextMapeTime2 <= Time.time) + { SceneManager.LoadScene(SceneManager.GetActiveScene().name, LoadSceneMode.Single); } } @@ -84,6 +99,10 @@ public class PlayerManager : MonoBehaviour void FixedUpdate() { + if (!isLocalPlayer) + { + return; + } Rotate(); } @@ -153,12 +172,12 @@ public class PlayerManager : MonoBehaviour WeaponManager weaponManager = weaponList[selectedWeapon].GetComponent(); if (weaponManager != null) { weaponManager.player = this; - Debug.Log(weaponList.Count); if (Input.GetAxis("Mouse ScrollWheel") > 0 && selectTime < Time.time) { if (weaponManager != null && createWeapon != null) { - Destroy(createWeapon); + Destroy(this.createWeapon); + CmdDestroyWeapon(createWeapon); } } else if (Input.GetAxis("Mouse ScrollWheel") < 0 && selectTime < Time.time) @@ -166,15 +185,17 @@ public class PlayerManager : MonoBehaviour if (weaponManager != null && createWeapon != null) { Destroy(createWeapon); + CmdDestroyWeapon(createWeapon); } } weaponManager.player = this; if (weaponManager != null && createWeapon == null) { - createWeapon = Instantiate(weaponList[selectedWeapon]) as GameObject; - createWeapon.transform.parent = playerCamera.transform; - createWeapon.transform.localPosition = Vector3.zero; - createWeapon.transform.localEulerAngles = Vector3.zero; + this.createWeapon = Instantiate(weaponList[selectedWeapon]) as GameObject; + this.createWeapon.transform.parent = this.playerCamera.transform; + this.createWeapon.transform.localPosition = Vector3.zero; + this.createWeapon.transform.localEulerAngles = Vector3.zero; + CmdSpawnWeapon(createWeapon); } } if (Input.GetAxis("Mouse ScrollWheel") > 0 && selectTime < Time.time) @@ -204,6 +225,18 @@ public class PlayerManager : MonoBehaviour } } + [Command] + void CmdSpawnWeapon(GameObject createWeapon2) + { + NetworkServer.Spawn(createWeapon2); + } + + [Command] + void CmdDestroyWeapon(GameObject createWeapon2) + { + NetworkServer.Destroy(createWeapon2); + } + void Interact() { Ray ray = playerCamera.ScreenPointToRay(Input.mousePosition); diff --git a/Packages/manifest.json b/Packages/manifest.json index 9c4730d..d93ac8c 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -3,6 +3,7 @@ "com.unity.collab-proxy": "1.2.16", "com.unity.ide.rider": "1.1.4", "com.unity.ide.vscode": "1.2.1", + "com.unity.multiplayer-hlapi": "1.0.6", "com.unity.postprocessing": "2.3.0", "com.unity.test-framework": "1.1.14", "com.unity.textmeshpro": "2.0.1", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index f4e5a16..5edf273 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -30,6 +30,15 @@ "dependencies": {}, "url": "https://packages.unity.com" }, + "com.unity.multiplayer-hlapi": { + "version": "1.0.6", + "depth": 0, + "source": "registry", + "dependencies": { + "nuget.mono-cecil": "0.1.6-preview" + }, + "url": "https://packages.unity.com" + }, "com.unity.postprocessing": { "version": "2.3.0", "depth": 0, @@ -72,6 +81,13 @@ "com.unity.modules.ui": "1.0.0" } }, + "nuget.mono-cecil": { + "version": "0.1.6-preview", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, "com.unity.modules.ai": { "version": "1.0.0", "depth": 0, diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 5f64cc7..c4bd737 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -5,6 +5,9 @@ EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: + - enabled: 1 + path: Assets/Scenes/MenuScene.unity + guid: 93b4889ad6e03cc43adabc934cacfde3 - enabled: 1 path: Assets/Scenes/PlayScene.unity guid: 03f1c44c053777842ae209ed02a9a1dc diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset index 2856e1a..8f6169f 100644 --- a/ProjectSettings/QualitySettings.asset +++ b/ProjectSettings/QualitySettings.asset @@ -4,7 +4,7 @@ QualitySettings: m_ObjectHideFlags: 0 serializedVersion: 5 - m_CurrentQuality: 0 + m_CurrentQuality: 5 m_QualitySettings: - serializedVersion: 2 name: Very Low @@ -222,17 +222,4 @@ QualitySettings: resolutionScalingFixedDPIFactor: 1 customRenderPipeline: {fileID: 0} excludedTargetPlatforms: [] - m_PerPlatformDefaultQuality: - Android: 2 - Lumin: 5 - Nintendo 3DS: 5 - Nintendo Switch: 5 - PS4: 5 - PSP2: 2 - Stadia: 5 - Standalone: 5 - WebGL: 3 - Windows Store Apps: 5 - XboxOne: 5 - iPhone: 2 - tvOS: 2 + m_PerPlatformDefaultQuality: {}