private void Start()
 {
     _notification   = GameObject.Find("Notification").GetComponent <Ingame_notification_script>();
     _characterStats = GameObject.Find("Game manager").GetComponent <Character_stats>();
     _combatManager  = GameObject.Find("Game manager").GetComponent <Combat_manager_script>();
     enemies         = GameObject.Find("Game manager").GetComponent <Enemy_manager_script>().enemies;
 }
Example #2
0
 void Start()
 {
     _gameManager    = GameObject.Find("Game manager").GetComponent <Game_manager>();
     _combatManager  = GameObject.Find("Game manager").GetComponent <Combat_manager_script>();
     _notification   = GameObject.Find("Notification").GetComponent <Ingame_notification_script>();
     _characterStats = GameObject.Find("Game manager").GetComponent <Character_stats>();
     _spellScript    = GameObject.Find("Game manager").GetComponent <Spell_script>();
 }
 private void Start()
 {
     _combatManager = GameObject.Find("Game manager").GetComponent <Combat_manager_script>();
 }