void Start()
 {
     animator      = GetComponent <BatBossAnimator>();
     cooldownTimer = 0.0f;
     startUpTimer  = 0.0f;
     attackTimer   = 0.0f;
     roaring       = false;
     startingUp    = false;
     attacking     = false;
 }
Beispiel #2
0
 void Start()
 {
     rb             = GetComponent <Rigidbody2D>();
     manager        = GetComponent <EnemyManager>();
     animator       = GetComponent <BatBossAnimator>();
     flying         = false;
     startingUp     = false;
     changingPhases = false;
     patternsActive = false;
     diving         = false;
 }
Beispiel #3
0
 // Start is called before the first frame update
 void Start()
 {
     rigidbody    = GetComponent <Rigidbody2D>();
     playerTarget = GameObject.FindGameObjectWithTag("Player").transform;
     breathAttack = GetComponent <BatBossBreathAttack>();
     flyAttack    = GetComponent <BatBossFlyAttack>();
     roar         = GetComponent <BatBossCrystalRoar>();
     manager      = GetComponent <EnemyManager>();
     animator     = GetComponent <BatBossAnimator>();
     waveAttack   = GetComponent <BatBossWaveAttack>();
     active       = false;
 }