void Awake() { player = GameObject.Find("Champ").GetComponent <EnemyHealthManager>(); what = GameObject.Find("DmgCounter").GetComponent <WhatIsMyDmg>(); Invoke("WakeMeUpBeforeYouGoGo", 0.8f); Invoke("destroy", 4f); }
void Start() { player = GameObject.Find("Champ").GetComponent <EnemyHealthManager>(); what = GameObject.Find("DmgCounter").GetComponent <WhatIsMyDmg>(); shit = GameObject.Find("Champ"); }
void Start() { Invoke("destroy", 1f); player = GameObject.Find("Champ").GetComponent <EnemyHealthManager>(); what = GameObject.Find("DmgCounter").GetComponent <WhatIsMyDmg>(); }