Skip to main content

IAttackDirectionAnimation

An interface in Root.Township, Alta.Intelligence.

One animator parameter (bool, float or layer weight) that shows which way a creature is about to attack. AttackDirectionCore drives three of them: layer, side and up.

Methods​

MemberWhat it is
void Disable()Resets the parameter to off.
void SetDirection(int direction)Sets the target direction value.
void Setup(NetworkAnimator animator, string parameterName)Binds to the named parameter on a network animator.
void Update(float lerp)Moves the parameter toward its target, by the given lerp amount.

Used in​

Members of other types that take, return or hold a IAttackDirectionAnimation: