AttackDirectionAnimationBoolSettings.BoolAnimation
A class in Root.Township, Alta.Intelligence.
Per-creature driver made by AttackDirectionAnimationBoolSettings: sets a networked animator bool from the attack direction.
- Listed in Creatures and AI
- Nested in
AttackDirectionAnimationBoolSettings - Inherits or implements
IAttackDirectionAnimation
Constructors
| Member | What it is |
|---|---|
BoolAnimation() | Creates an AttackDirectionAnimationBoolSettings.BoolAnimation with default values. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private AnimatedBool animatedProperty | The networked animator bool being driven. |
Methods
4 private and internal methods
| Member | What 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. |