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