Пример #1
0
 // Use this for initialization
 void Start()
 {
     boss   = GameObject.Find("Stage5Boss");
     S5boss = boss.GetComponent <Stage5Boss>();
     phaseIndicator.text = "9";
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     Mobai  = GetComponentInParent <Stage5MobAI>();
     Bossai = GetComponentInParent <Stage5Boss>();
 }