diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index b120d3d..ab378f0 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -1816,6 +1816,59 @@ SpriteRenderer: m_SortingLayerID: 0 m_Sprite: {fileID: 21300000, guid: 378f31aba1740b845811779db7058afe, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} +--- !u!1 &1140506734 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100004, guid: 344553ed180b2de4780a5f09becb7645, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1140506737} + - 135: {fileID: 1140506736} + - 114: {fileID: 1140506735} + m_Layer: 0 + m_Name: nav3 + m_TagString: pois + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!114 &1140506735 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11400002, guid: 344553ed180b2de4780a5f09becb7645, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1140506734} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 79de31dde1348491f8c7da34e162f0e7, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!135 &1140506736 +SphereCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 13500002, guid: 344553ed180b2de4780a5f09becb7645, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1140506734} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: .5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!4 &1140506737 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400004, guid: 344553ed180b2de4780a5f09becb7645, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1140506734} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 15.6433258, y: .274641037, z: 9.0915699} + m_LocalScale: {x: 1.93007195, y: 1.93007195, z: 1.93007195} + m_Children: [] + m_Father: {fileID: 0} --- !u!1 &1164596948 GameObject: m_ObjectHideFlags: 0 @@ -2661,8 +2714,8 @@ Transform: m_PrefabInternal: {fileID: 752434186} m_GameObject: {fileID: 1840477154} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 29.5528221, y: 0, z: 9.68579578} - m_LocalScale: {x: 29.2999992, y: .5, z: 10.1000004} + m_LocalPosition: {x: 29.5528221, y: 0, z: 8.97632408} + m_LocalScale: {x: 29.2999992, y: .5, z: 11.7473516} m_Children: [] m_Father: {fileID: 1731015427} --- !u!23 &1840477156 diff --git a/Assets/Scripts/GameController.cs b/Assets/Scripts/GameController.cs index 4210b10..0307a11 100644 --- a/Assets/Scripts/GameController.cs +++ b/Assets/Scripts/GameController.cs @@ -36,7 +36,7 @@ public class GameController : MonoBehaviour { { if (patronCounter < maxPatrons) { - Vector3 spawnPosition = new Vector3 (8f, 9.7f, -3f); + Vector3 spawnPosition = new Vector3 (20f, 3f, 9f); Quaternion spawnRotation = Quaternion.identity; Instantiate (patronObjects[Random.Range (0, patronObjects.Length-1)], spawnPosition, spawnRotation); diff --git a/Assets/Sprites/Materials/floor2.mat b/Assets/Sprites/Materials/floor2.mat index 0c01e13..e32edfe 100644 --- a/Assets/Sprites/Materials/floor2.mat +++ b/Assets/Sprites/Materials/floor2.mat @@ -18,7 +18,7 @@ Material: name: _MainTex second: m_Texture: {fileID: 2800000, guid: aad1c3a7e9be2d84ebed6243e1a7541b, type: 3} - m_Scale: {x: 10, y: 10} + m_Scale: {x: 8, y: 3.5999999} m_Offset: {x: 0, y: 0} m_Floats: {} m_Colors: