Click or drag to resize

PlayerIdPropertyAttribute Class

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

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

The PlayerIdPropertyAttribute type exposes the following members.

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