Skip to main content

AttackDirectionAnimationBoolSettings.BoolAnimation

A class in Root.Township, Alta.Intelligence.

Per-creature driver made by AttackDirectionAnimationBoolSettings: sets a networked animator bool from the attack direction.

Constructors​

MemberWhat it is
BoolAnimation()Creates an AttackDirectionAnimationBoolSettings.BoolAnimation with default values.

Fields​

1 private and internal field
MemberWhat it is
private AnimatedBool animatedPropertyThe networked animator bool being driven.

Methods​

4 private and internal methods
MemberWhat it is
private void Alta.Intelligence.IAttackDirectionAnimation.Disable()Does nothing.
private void Alta.Intelligence.IAttackDirectionAnimation.SetDirection(int direction)Sets the bool to true when the direction is above 0, false otherwise.
private void Alta.Intelligence.IAttackDirectionAnimation.Setup(NetworkAnimator animator, string parameterName)Looks up the named bool on the creature's NetworkAnimator.
private void Alta.Intelligence.IAttackDirectionAnimation.Update(float lerp)Does nothing; the bool is set straight away.