public override void Update() { base.Update(); if (!Freezable.GetIsFrozen()) { AttackNearbyEnemies(); } }
public override void Update() { base.Update(); cFireTimer += Time.deltaTime; if (cFireTimer > FireTimer) { cFireTimer = 0f; if (!Freezable.GetIsFrozen()) { ShootFireball(); } } }
public override void Update() { base.Update(); cFireTimer += Time.deltaTime; if (cFireTimer > FireTimer) { cFireTimer = 0f; if (!Freezable.GetIsFrozen()) { BeginAttack(); } } }