예제 #1
0
 void Start()
 {
     alreadySpawned = false;
     rushToTarget   = boss.GetComponent <RushToTarget>();
     CounterOfKill  = GameObject.FindGameObjectWithTag("CounterKill").GetComponent <Text>();
 }
예제 #2
0
 void Start()
 {
     _rushToTarget = enemy.GetComponent <RushToTarget>();
     lastSpawnDate = Time.time;
     CounterOfKill = GameObject.FindGameObjectWithTag("CounterKill").GetComponent <Text>();
 }