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