Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     //master = GameObject.FindWithTag("masterMind").GetComponent<MasterMindTranslate>();
     master = GameObject.FindWithTag("masterMind").GetComponent<SynchronizeORCA>();
     stats = GetComponentInParent<UnitStats>();
     agents = master.agents;
     gun = GetComponent<GunModule>();
 }
Exemplo n.º 2
0
 void Start()
 {
     //master = GameObject.FindWithTag("masterMind").GetComponent<MasterMindTranslate>();
     master = GameObject.FindWithTag("masterMind").GetComponent<SynchronizeORCA>();
     HP = maxHP;
 }