InputAction Class |
Namespace: Rewired
[SerializableAttribute] public sealed class InputAction
The InputAction type exposes the following members.
Name | Description | |
---|---|---|
InputAction |
Creates an instance.
| |
InputAction(InputAction) |
Makes a copy of an InputAction.
|
Name | Description | |
---|---|---|
behaviorId |
The Input Behavior Id assigned to this Action.
| |
categoryId |
The Action Category Id this Action belongs to.
| |
descriptiveName |
The descripive name. This can be shown to users.
The returned value will be localized if localization is in use.
| |
id |
The id.
| |
name |
The scripting name of the action.
Use descriptiveName instead for the localizable display name.
| |
negativeDescriptiveName |
The negative descriptive name. This can be shown to users.
If no negative name was defined, descriptiveName will be returned with a - suffix appended.
The returned value will be localized if localization is in use.
| |
positiveDescriptiveName |
The positive descriptive name. This can be shown to users.
If no positive name was defined, descriptiveName will be returned with a + suffix appended.
The returned value will be localized if localization is in use.
| |
type |
The InputActionType.
| |
userAssignable |
Determines whether the Action will appear in certain lists such as in a control remapping UI.
Note: This value is not used in the conflict checking system and has no impact on whether an Action is protected from reassignment.
|
Name | Description | |
---|---|---|
Clone |
Makes a copy of an InputAction.
| |
GetDisplayName |
Gets the display name for the specified range.
The returned value will be localized if localization is in use.
|