Click or drag to resize

InputAction Class

Represents a single action.
Inheritance Hierarchy
SystemObject
  RewiredInputAction

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class InputAction

The InputAction type exposes the following members.

Constructors
  NameDescription
Public methodInputAction
Creates an instance.
Public methodInputAction(InputAction)
Makes a copy of an InputAction.
Top
Properties
  NameDescription
Public propertybehaviorId
The Input Behavior Id assigned to this Action.
Public propertycategoryId
The Action Category Id this Action belongs to.
Public propertydescriptiveName
The descripive name. This can be shown to users. The returned value will be localized if localization is in use.
Public propertyid
The id.
Public propertyname
The scripting name of the action. Use descriptiveName instead for the localizable display name.
Public propertynegativeDescriptiveName
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.
Public propertypositiveDescriptiveName
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.
Public propertytype
The InputActionType.
Public propertyuserAssignable
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.
Top
Methods
  NameDescription
Public methodClone
Makes a copy of an InputAction.
Public methodGetDisplayName
Gets the display name for the specified range. The returned value will be localized if localization is in use.
Top
See Also