Skip to main content

StandingStillPositionModifier

A class in Root.Township, the global namespace.

Hand position input modifier asset for skills that only counts the hand as in position while the player is standing still.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private float maxVelocitySquaredHighest squared movement speed still treated as standing still.

Methods​

MemberWhat it is
override void ModifyIsInPosition(HeldPickupHandler handler, ref bool isInPosition)Clears isInPosition if the player's smooth locomotion speed is above the limit.