Пример #1
0
 protected override void OnStart()
 {
     MasterPooler.InitPool <MissileExplodeEffect>(_effectPrefab);
     if (_launchOnStart)
     {
         LaunchMissile(_defaultMissileTimeout);
     }
 }
Пример #2
0
 protected override void OnStart()
 {
     MasterPooler.InitPool <Missile>(_missilePrefab);
 }
Пример #3
0
 protected override void OnStart()
 {
     MasterPooler.InitPool <Bomb>(_bombPrefab);
 }
Пример #4
0
 private void Awake()
 {
     _targetLane = 0;
     MasterPooler.InitPool <Missile>(MissilePrefab);
 }
Пример #5
0
 protected override void OnStart()
 {
     MasterPooler.InitPool <Asteroid>(AsteroidPrefab);
     _originalSpawnInterval = SpawnInterval;
     SetSpawning(true);
 }
Пример #6
0
 protected override void OnStart()
 {
     MasterPooler.InitPool <AsteroidDeathEffect>(_deathEffect);
 }