Ejemplo n.º 1
0
 // ottiene le istanze dei sotto-moduli di games manager: wavesmanager, scoremanager etc. etc.
 void getSubManagerModulesIstances()
 {
     wavesManager    = GameObject.FindGameObjectWithTag("WavesManager").GetComponent <WavesManager>();
     scoreManager    = GameObject.FindGameObjectWithTag("ScoreManager").GetComponent <ScoreManager>();
     upgradesManager = GameObject.FindGameObjectWithTag("UpgradesManager").GetComponent <UpgradesManager>();
     mainHUDManager  = GameObject.FindGameObjectWithTag("MainHUD").GetComponent <MainHUDManager>();
     healsManager    = GameObject.FindGameObjectWithTag("HealsManager").GetComponent <HealsManager>();
 }
Ejemplo n.º 2
0
 void getSubManagerModulesIstances()
 {
     healsManager = GameObject.FindGameObjectWithTag("HealsManager").GetComponent <HealsManager>();
 }