Merlins Beard . Attack System . Attacker

Serialized Fields

Basic Attack :: Attack
Attack Action :: Attack Target


Current Attack :: Attack
Mover :: Mover


Attack ( New Target :: Target )

Guards against a null target. Then, sets the Focus and sends the Attack Target action to the Brain.

Animator Methods

Hit ( )

This method calls the On Hit method of the current Attack.

Unity Methods

Start ( )

Retrieves and stores the Mover, Brain, and Focus components.