Struct DefaultInputActions.PlayerActions
Namespace: UnityEngine.InputSystem
Syntax
public struct PlayerActions
Constructors
PlayerActions(DefaultInputActions)
Declaration
public PlayerActions(DefaultInputActions wrapper)
Parameters
Type | Name | Description |
---|---|---|
DefaultInputActions | wrapper |
Properties
enabled
Declaration
public readonly bool enabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
Fire
Declaration
public readonly InputAction Fire { get; }
Property Value
Type | Description |
---|---|
InputAction |
Look
Declaration
public readonly InputAction Look { get; }
Property Value
Type | Description |
---|---|
InputAction |
Move
Declaration
public readonly InputAction Move { get; }
Property Value
Type | Description |
---|---|
InputAction |
Methods
Disable()
Declaration
public void Disable()
Enable()
Declaration
public void Enable()
Get()
Declaration
public InputActionMap Get()
Returns
Type | Description |
---|---|
InputActionMap |
SetCallbacks(DefaultInputActions.IPlayerActions)
Declaration
public void SetCallbacks(DefaultInputActions.IPlayerActions instance)
Parameters
Type | Name | Description |
---|---|---|
DefaultInputActions.IPlayerActions | instance |
Operators
Implicit(DefaultInputActions.PlayerActions to InputActionMap)
Declaration
public static implicit operator InputActionMap(DefaultInputActions.PlayerActions set)
Parameters
Type | Name | Description |
---|---|---|
DefaultInputActions.PlayerActions | set |
Returns
Type | Description |
---|---|
InputActionMap |