private void Start() { // Get Components controller = GetComponent <CharacterController>(); // Reset ScriptableObjects stamina.SetValueToMax(); jumpCount.SetValue(0); }