Do Attack Action

protected abstract void DoAttackAction()

This abstract method performs the actual attack action once the unit is ready to attack (target in range, fire line free, reload finished). Implemented differently by each Attack subclass:

  • SimpleAttack applies damage directly to the target (and splash damage, if enabled).

  • ShellAttack spawns the shell/bullet/rocket prefab from the current shoot point.