Exemplo n.º 1
0
 private void Start()
 {
     weaponHolder = GameObject.Find("WeaponHolder").GetComponent <Transform>();
     wS           = weaponHolder.GetComponent <WeaponSwitcher>();
     currentWep   = weaponHolder.GetChild(wS.currentWeapIndex);
     dT           = GameObject.Find("WeaponTextFam").GetComponent <Text>().GetComponent <DisableText>();
 }
Exemplo n.º 2
0
 void Start()
 {
     waveText.text = "Wave: " + wave.ToString();
     dT            = GameObject.Find("WeaponTextFam").GetComponent <Text>().GetComponent <DisableText>();
 }