Skip to content
Snippets Groups Projects
Commit 83a3369d authored by GIMENEZ TANGUY's avatar GIMENEZ TANGUY
Browse files

On commence l'animation de game over

parent 74ba8397
No related merge requests found
......@@ -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;
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment