diff options
author | Mikkel Bybjerg <mikkel.bybjerg@hotmail.com> | 2019-04-28 09:39:42 +0200 |
---|---|---|
committer | Mikkel Bybjerg <mikkel.bybjerg@hotmail.com> | 2019-04-28 09:39:42 +0200 |
commit | 8dfb13aaeb6757ddc7db848d1d8cd0cf8476d273 (patch) | |
tree | 9787d8f9dba51cb575b32c198c81afe5f9b603de /nGJ2019/Assets/Scripts | |
parent | 0a66ac2d11788d91feab6d5f359eb3f8bcd066a5 (diff) |
bigger lives
Diffstat (limited to 'nGJ2019/Assets/Scripts')
-rw-r--r-- | nGJ2019/Assets/Scripts/HealthBar.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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>()); } |