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