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.
- Listed in Creatures and AI
- Derived types
AttackDirectionAnimationBoolSettings.BoolAnimation,AttackDirectionAnimationFloatSettings.FloatAnimation,AttackDirectionAnimationLayerLerpSettings.LayerAnimation,EmptyAttackDirectionAnimation
Methods
| Member | What 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:
AttackDirectionAnimationBoolSettings.GetAnimation, AttackDirectionAnimationFloatSettings.GetAnimation, AttackDirectionAnimationLayerLerpSettings.GetAnimation, AttackDirectionAnimationSettings.GetAnimation, AttackDirectionAnimationSettings.GetNewAnimation, AttackDirectionCore.GetAnimation, AttackDirectionCore.layer, AttackDirectionCore.side, AttackDirectionCore.up.