Merlins Beard . Attack System . Damage

Serialized Fields

Amount :: float


Deal Damage ( Other Health :: Health )

Calls the Take Damage method on the Other Health passing it the amount of damage and identifying the Target component of the attacker. This method guards against the attacker being dead.

Unity Methods

Start ( )

Retrieves and stores the Target component of a parent Game Object.