private void Start() { bulletSpinDelay = new DelayBool(); bulletSpinDelay.delayTime = bulletSpinSpeed; FindPlayer(); pooledShooting = new PooledShooting(); }
// Use this for initialization void Start() { towerFieldStatusArray = new int[16, 16]; towerGameObjectArray = new GameObject[16, 16]; playerManager = GetComponent <PlayerManager>(); pooledShooting = new PooledShooting(); health = GetComponent <Health>(); //UpdateTowers(); }
void Start() { shootingDelay = new Delay(shootingRate); player = GameObject.FindGameObjectWithTag("Player"); pooledShooting = new PooledShooting(); }