示例#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>();
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     KillScript       = GameObject.Find("KillText").GetComponent <KillScript>();
     StageClearScript = GameObject.Find("StageClear").GetComponent <StageClearScript>();
 }