diff --git a/Assets/Scripts/Player/PlayerNature.cs b/Assets/Scripts/Player/PlayerNature.cs index 095bbefac0d6357da983650bc264c15ef007087a..bf5afe0c73ef897ed0cd934ad0b7e7cc99f20d33 100644 --- a/Assets/Scripts/Player/PlayerNature.cs +++ b/Assets/Scripts/Player/PlayerNature.cs @@ -53,7 +53,7 @@ public class PlayerNature : MonoBehaviour } if (this.currentNature < 0) - Debug.Log("qsidjgbisdfjghb"); + GameOver(); } // Perd un certain nombre de points de nature @@ -75,6 +75,14 @@ public class PlayerNature : MonoBehaviour this.natureBar.SetValue(this.currentNature); } + private void GameOver() + { + + } + + + + // Singleton private void Awake() @@ -87,4 +95,6 @@ public class PlayerNature : MonoBehaviour instance = this; } + + }