Skip to main content

ToggleDebugMovementMenuAction

A class in Root.Township, Alta.QuickAccessActions.

Developer quick access action that toggles debug movement on the local smooth locomotion controller.

Constructors​

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

Properties​

MemberWhat it is
override bool IsActive { get; }True if the local player uses smooth locomotion with debug movement on.
override bool IsIgnored { get; }Hidden for non-developers.
override bool IsValid { get; }True for developers only.

Methods​

MemberWhat it is
override void Run(Controller controller)Toggles smooth locomotion debug movement.