Attack
public abstract class Attack : UnitLogicModule, IAttack
This abstract class gives a unit the ability to attack enemies: searching for a target’s attack range, checking the fire line, rotating towards the target, and triggering the actual attack action on a timer (reload).
The actual attack action is implemented by its subclasses:
SimpleAttack— deals damage directly to the target (and splash damage nearby, if configured). Used for the Simple attack type.ShellAttack— spawns a Shell prefab (bullet/rocket) which flies to the target and applies damage on impact. Used for the Shell attack type.