InputAction
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Represents an input action with associated data
Metadata
Namespace: GridPlacement.Core.Types
Source File: cs/Core/Types/InputAction.cs
Assembly: GridPlacement.Core
Type: class
Constructors
InputAction
Initializes a new instance of the InputAction class.
InputAction
Initializes a new instance of the InputAction class.
Parameters
| Name | Description |
|---|---|
actionName | The action name. |
isPressed | Whether the action is pressed. |
strength | The action strength/value (0..1). |
device | The input device that triggered the action. |
Properties
ActionName
Name of the input action
IsPressed
Whether the action is currently pressed
IsJustPressed
Whether the action was just pressed this frame
IsJustReleased
Whether the action was just released this frame
Strength
Strength/value of the action (0.0 to 1.0)
Device
Input device that triggered this action
Timestamp
Timestamp when the action was triggered