Unity and Flutter apps Home Page
Work to create apps for generating revenue
Loading...
Searching...
No Matches
Controls Class Reference
Inheritance diagram for Controls:

Classes

interface  IPlayerActions
struct  PlayerActions

Public Member Functions

 Controls ()
void Dispose ()
bool Contains (InputAction action)
IEnumerator< InputAction > GetEnumerator ()
void Enable ()
void Disable ()
InputAction FindAction (string actionNameOrId, bool throwIfNotFound=false)
int FindBinding (InputBinding bindingMask, out InputAction action)

Properties

InputActionAsset asset [get]
InputBinding? bindingMask [get, set]
ReadOnlyArray< InputDevice >? devices [get, set]
ReadOnlyArray< InputControlScheme > controlSchemes [get]
IEnumerable< InputBinding > bindings [get]
PlayerActions Player [get]
InputControlScheme KeyboardMouseScheme [get]
InputControlScheme GamepadScheme [get]
InputControlScheme TouchScheme [get]
InputControlScheme JoystickScheme [get]
InputControlScheme XRScheme [get]

Constructor & Destructor Documentation

◆ Controls()

Controls.Controls ( )

Member Function Documentation

◆ Contains()

bool Controls.Contains ( InputAction action)

◆ Disable()

void Controls.Disable ( )

◆ Dispose()

void Controls.Dispose ( )

◆ Enable()

void Controls.Enable ( )

◆ FindAction()

InputAction Controls.FindAction ( string actionNameOrId,
bool throwIfNotFound = false )

◆ FindBinding()

int Controls.FindBinding ( InputBinding bindingMask,
out InputAction action )

◆ GetEnumerator()

IEnumerator< InputAction > Controls.GetEnumerator ( )

Property Documentation

◆ asset

InputActionAsset Controls.asset
get

◆ bindingMask

InputBinding? Controls.bindingMask
getset

◆ bindings

IEnumerable<InputBinding> Controls.bindings
get

◆ controlSchemes

ReadOnlyArray<InputControlScheme> Controls.controlSchemes
get

◆ devices

ReadOnlyArray<InputDevice>? Controls.devices
getset

◆ GamepadScheme

InputControlScheme Controls.GamepadScheme
get

◆ JoystickScheme

InputControlScheme Controls.JoystickScheme
get

◆ KeyboardMouseScheme

InputControlScheme Controls.KeyboardMouseScheme
get

◆ Player

PlayerActions Controls.Player
get

◆ TouchScheme

InputControlScheme Controls.TouchScheme
get

◆ XRScheme

InputControlScheme Controls.XRScheme
get

The documentation for this class was generated from the following file:
  • C:/dev/RD8/Assets/Scripts/Player/Generated/Controls.cs