Skip to main content

QamOptionAsButtonCommand

A class in Root.Township, Alta.Menu.

Client: a menu command that runs a quick access menu action, as if picked from that menu.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private QuickAccessMenuAction actionThe quick access menu action to run.

Methods​

MemberWhat it is
override void RunCommandOnClient()Runs action with the higher hand's controller.
1 private and internal method
MemberWhat it is
private static Controller GetControllerHack()Returns whichever of the local player's hand controllers is held higher.