void Start() { thisObj = this.gameObject; h = (Behaviour)GetComponent ("Halo"); h.enabled = false; checkPos = false; timer = MenuTimer; AlreadyUpgradedPylon = false; AlreadyUpgradedTurret = false; AlreadyUpgradedMine = false; buzzSound = thisObj.GetComponent<SoundManagerPylon>(); }
void Awake() { instance = this; }