void Awake() { currentHealth = startingHealth; mySleepwalkerObject = GameObject.FindGameObjectWithTag("Sleepwalker"); myCheckPoint = FindObjectOfType <CheckpointScript> (); thornBush = FindObjectOfType <ThornBushScript> (); ZzzPoints = FindObjectOfType <ParticleSystem> (); }
void Awake() { currentStamina = startingStamina; thornBush = FindObjectOfType <ThornBushScript> (); }