Click or drag to resize

ActionIdPropertyAttribute Class

A PropertyAttribute for an InputAction id. Use on a serialized int field to allow selecting of Rewired Actions from a popup in the Unity inspector. Usage: [ActionIdProperty(typeof(MyType)] Type should be a class that contains public const int fields, each of which corresponds to a Rewired Input Action id.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    PropertyAttribute
      RewiredActionIdPropertyAttribute

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class ActionIdPropertyAttribute : PropertyAttribute

The ActionIdPropertyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodActionIdPropertyAttribute
Creates an instance of the class.
Top
Properties
  NameDescription
Public propertyorder (Inherited from PropertyAttribute.)
Public propertyType
Top
See Also