void Start() { playerPathScript = player.GetComponent <PlayerPath> (); timeScript = player.GetComponent <TimeSpentInEachRoom> (); patrolClearer = new PatrolClearer(); }
void Start() { playerPathScript = GameObject.Find("Player").GetComponent <PlayerPath> (); timeScript = GameObject.Find("Player").GetComponent <TimeSpentInEachRoom> (); patrolClearer = new PatrolClearer(); }
void Start() { patrolClearer = new PatrolClearer(); }