void Start() { animator = GetComponent <BatBossAnimator>(); cooldownTimer = 0.0f; startUpTimer = 0.0f; attackTimer = 0.0f; roaring = false; startingUp = false; attacking = false; }
void Start() { rb = GetComponent <Rigidbody2D>(); manager = GetComponent <EnemyManager>(); animator = GetComponent <BatBossAnimator>(); flying = false; startingUp = false; changingPhases = false; patternsActive = false; diving = false; }
// 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; }