Skip to main content

AttackDirectionAnimationSettings

An abstract class in Root.Township, Alta.Intelligence.

Asset that makes an attack direction animation helper for a creature's animator parameter.

Constructors​

MemberWhat it is
protected AttackDirectionAnimationSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private string parameterNameName of the animator parameter the animation drives. Exposed as ParameterName.

Properties​

MemberWhat it is
string ParameterName { get; }The animator parameter the helper drives.
protected abstract IAttackDirectionAnimation GetAnimation { get; }Subclasses return a new, not yet set up animation helper.

Methods​

MemberWhat it is
IAttackDirectionAnimation GetNewAnimation(NetworkAnimator animator)Makes a helper and sets it up on the given network animator and ParameterName.

Used in​

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