Skip to main content

LocomotionModifierAction

An abstract class in Root.Township, the global namespace.

Base asset for something that changes smooth locomotion for a while, started and ended on the player controller.

Constructors​

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

Methods​

MemberWhat it is
abstract void Begin(SmoothLocomotionPlayerController player)Applies the change to the player's locomotion.
abstract void Finish(SmoothLocomotionPlayerController player)Removes the change.

Used in​

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