Table of Contents

Struct GameControls.GameplayActions

Namespace
ProjectL.InputActions
Assembly
Assembly-CSharp.dll

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

public struct GameControls.GameplayActions
Inherited Members

Constructors

GameplayActions(GameControls)

Construct a new instance of the input action map wrapper class.

public GameplayActions(GameControls wrapper)

Parameters

wrapper GameControls

Properties

CancelAction

Provides access to the underlying input action "Gameplay/CancelAction".

public InputAction CancelAction { get; }

Property Value

InputAction

ClickPlace

Provides access to the underlying input action "Gameplay/ClickPlace".

public InputAction ClickPlace { get; }

Property Value

InputAction

ConfirmAction

Provides access to the underlying input action "Gameplay/ConfirmAction".

public InputAction ConfirmAction { get; }

Property Value

InputAction

Flip

Provides access to the underlying input action "Gameplay/Flip".

public InputAction Flip { get; }

Property Value

InputAction

KeyboardPlace

Provides access to the underlying input action "Gameplay/KeyboardPlace".

public InputAction KeyboardPlace { get; }

Property Value

InputAction

PauseGame

Provides access to the underlying input action "Gameplay/PauseGame".

public InputAction PauseGame { get; }

Property Value

InputAction

Rotate90

Provides access to the underlying input action "Gameplay/Rotate90".

public InputAction Rotate90 { get; }

Property Value

InputAction

RotateSmooth

Provides access to the underlying input action "Gameplay/RotateSmooth".

public InputAction RotateSmooth { get; }

Property Value

InputAction

enabled

public bool enabled { get; }

Property Value

bool

Methods

AddCallbacks(IGameplayActions)

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

public void AddCallbacks(GameControls.IGameplayActions instance)

Parameters

instance GameControls.IGameplayActions

Callback instance.

Remarks

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

See Also

Disable()

public void Disable()

Enable()

public void Enable()

Get()

Provides access to the underlying input action map instance.

public InputActionMap Get()

Returns

InputActionMap

RemoveCallbacks(IGameplayActions)

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

public void RemoveCallbacks(GameControls.IGameplayActions instance)

Parameters

instance GameControls.IGameplayActions
See Also

SetCallbacks(IGameplayActions)

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

public void SetCallbacks(GameControls.IGameplayActions instance)

Parameters

instance GameControls.IGameplayActions

Remarks

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

See Also

Operators

implicit operator InputActionMap(GameplayActions)

Implicitly converts an to an instance.

public static implicit operator InputActionMap(GameControls.GameplayActions set)

Parameters

set GameControls.GameplayActions

Returns

InputActionMap