Click To Attack

Merlins Beard . Control . Click To Attack

Serialized Fields

Attack Target :: Target . Target Event

Methods

Execute ( Brain )

Looks for a Target component on the Collider hit by the Raycast. Looks for an Attacker component on the Brain and calls Attack. Finally, invokes the Attack Target event passing that Target to all listeners.