Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     KillScript = GameObject.Find("KillLog").GetComponent <KillScript>();
     EnergyGage = GameObject.Find("EnergyGage_e").GetComponent <EnergyGageScript>();
     player     = GameObject.Find("Player");
     nav        = GetComponent <NavMeshAgent>();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     KillScript       = GameObject.Find("KillText").GetComponent <KillScript>();
     StageClearScript = GameObject.Find("StageClear").GetComponent <StageClearScript>();
 }