private void Start()
    {
        // Get Components
        controller = GetComponent <CharacterController>();

        // Reset ScriptableObjects
        stamina.SetValueToMax();
        jumpCount.SetValue(0);
    }
Exemple #2
0
 void Awake()
 {
     score.SetValue(0);
     health.SetValue(health.maxValue);
     poison.ResetTickDamage();
     victoryScreen.gameObject.SetActive(false);
     defeatScreen.gameObject.SetActive(false);
 }