Esempio n. 1
0
 private void Start()
 {
     bulletSpinDelay           = new DelayBool();
     bulletSpinDelay.delayTime = bulletSpinSpeed;
     FindPlayer();
     pooledShooting = new PooledShooting();
 }
Esempio n. 2
0
 // 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();
 }
Esempio n. 3
0
 void Start()
 {
     shootingDelay  = new Delay(shootingRate);
     player         = GameObject.FindGameObjectWithTag("Player");
     pooledShooting = new PooledShooting();
 }