Пример #1
0
 private void Start()
 {
     shootPause  = Random.Range(attackPause - 2, attackPause + 2); // pause after shoot
     attackTimer = shootPause / 2;
     rb          = GetComponent <Rigidbody>();
     EnemiesManager.increaseEnemyCounter();
 }