diff options
-rw-r--r-- | nGJ2019/Assets/Prefabs/health_crystal.prefab | 2 | ||||
-rw-r--r-- | nGJ2019/Assets/Scripts/HealthBar.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nGJ2019/Assets/Prefabs/health_crystal.prefab b/nGJ2019/Assets/Prefabs/health_crystal.prefab index 8b52814..1191b32 100644 --- a/nGJ2019/Assets/Prefabs/health_crystal.prefab +++ b/nGJ2019/Assets/Prefabs/health_crystal.prefab @@ -25,7 +25,7 @@ Transform: m_GameObject: {fileID: 6136547117420934535} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 1.1396179, y: -0.6755286, z: 2.9882812} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 1.53254, y: 1.53254, z: 1.53254} m_Children: - {fileID: 7434249188869609042} m_Father: {fileID: 0} diff --git a/nGJ2019/Assets/Scripts/HealthBar.cs b/nGJ2019/Assets/Scripts/HealthBar.cs index 4c30b42..b5d0427 100644 --- a/nGJ2019/Assets/Scripts/HealthBar.cs +++ b/nGJ2019/Assets/Scripts/HealthBar.cs @@ -38,7 +38,7 @@ public class HealthBar : MonoBehaviour { for(int i=0; i<lives; i++) { - GameObject crystal = Instantiate(crystalPrefab, transform.position + Vector3.right*0.5f*i, Quaternion.identity); + GameObject crystal = Instantiate(crystalPrefab, transform.position + Vector3.right*0.8f*i, Quaternion.identity); crystals.Add(crystal.GetComponentInChildren<Renderer>()); } |