Loading...
Searching...
No Matches
AdventureExtras.ArenaInput.MenuActions Struct Reference

Detailed Description

Provides access to input actions defined in input action map "Menu".

Public Member Functions

 MenuActions (@ArenaInput wrapper)
 Construct a new instance of the input action map wrapper class.
 
InputActionMap Get ()
 Provides access to the underlying input action map instance.
 
void Enable ()
 
void Disable ()
 
void AddCallbacks (IMenuActions instance)
 Adds InputAction.started, InputAction.performed and InputAction.canceled callbacks provided via on all input actions contained in this map.
 
void RemoveCallbacks (IMenuActions instance)
 Unregisters and unregisters all input action callbacks via MenuActions.UnregisterCallbacks(IMenuActions).
 
void SetCallbacks (IMenuActions instance)
 Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
 

Static Public Member Functions

static implicit operator InputActionMap (MenuActions set)
 Implicitly converts an to an instance.
 

Properties

InputAction Navigate [get]
 Provides access to the underlying input action "Menu/Navigate".
 
InputAction Submit [get]
 Provides access to the underlying input action "Menu/Submit".
 
InputAction Abort [get]
 Provides access to the underlying input action "Menu/Abort".
 
InputAction Point [get]
 Provides access to the underlying input action "Menu/Point".
 
InputAction Click [get]
 Provides access to the underlying input action "Menu/Click".
 
InputAction ScrollWheel [get]
 Provides access to the underlying input action "Menu/ScrollWheel".
 
InputAction MiddleClick [get]
 Provides access to the underlying input action "Menu/MiddleClick".
 
InputAction RightClick [get]
 Provides access to the underlying input action "Menu/RightClick".
 
InputAction Assign1 [get]
 Provides access to the underlying input action "Menu/Assign1".
 
InputAction Assign2 [get]
 Provides access to the underlying input action "Menu/Assign2".
 
InputAction Assign3 [get]
 Provides access to the underlying input action "Menu/Assign3".
 
InputAction Resume [get]
 Provides access to the underlying input action "Menu/Resume".
 
bool enabled [get]
 

Member Function Documentation

◆ AddCallbacks()

void AdventureExtras.ArenaInput.MenuActions.AddCallbacks ( IMenuActions instance)
inline

Adds InputAction.started, InputAction.performed and InputAction.canceled callbacks provided via on all input actions contained in this map.

Parameters
instanceCallback instance.

If instance is null or instance have already been added this method does nothing.

See also
MenuActions

◆ RemoveCallbacks()

void AdventureExtras.ArenaInput.MenuActions.RemoveCallbacks ( IMenuActions instance)
inline

Unregisters and unregisters all input action callbacks via MenuActions.UnregisterCallbacks(IMenuActions).

See also
MenuActions.UnregisterCallbacks(IMenuActions)

◆ SetCallbacks()

void AdventureExtras.ArenaInput.MenuActions.SetCallbacks ( IMenuActions instance)
inline

Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .

If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.

See also
MenuActions.AddCallbacks(IMenuActions), MenuActions.RemoveCallbacks(IMenuActions), MenuActions.UnregisterCallbacks(IMenuActions)