Пример #1
0
 void Awake()
 {
     player = GameObject.Find("Champ").GetComponent <EnemyHealthManager>();
     what   = GameObject.Find("DmgCounter").GetComponent <WhatIsMyDmg>();
     Invoke("WakeMeUpBeforeYouGoGo", 0.8f);
     Invoke("destroy", 4f);
 }
Пример #2
0
 void Start()
 {
     player = GameObject.Find("Champ").GetComponent <EnemyHealthManager>();
     what   = GameObject.Find("DmgCounter").GetComponent <WhatIsMyDmg>();
     shit   = GameObject.Find("Champ");
 }
Пример #3
0
 void Start()
 {
     Invoke("destroy", 1f);
     player = GameObject.Find("Champ").GetComponent <EnemyHealthManager>();
     what   = GameObject.Find("DmgCounter").GetComponent <WhatIsMyDmg>();
 }