void Awake() { player = GameObject.FindGameObjectWithTag ("Player"); playerHealth = player.GetComponent<PlayerHealth> (); squigeeMover = GetComponent<SquigeeMover>(); }
void Awake() { player = GameObject.FindGameObjectWithTag("Player"); playerHealth = player.GetComponent <PlayerHealth> (); squigeeMover = GetComponent <SquigeeMover>(); }