Click or drag to resize

Player Properties

The Player type exposes the following members.

Properties
  NameDescription
Public propertydescriptiveName
The descriptive name of the Player. The returned value will be localized if localization is in use.
Public propertyid
The id of the Player.
Public propertyisPlaying
Is this Player currently playing? This property is for user use. It is never set to anything but whatever you set in the Rewired Input Manager Player's page for the "Is Playing on Start" field. The only thing that Player.isPlaying affects internally is Joystick Auto-Assignment if "Assign to Playing Players Only" is set to True. One might use Player.isPlaying to flag that a Player has joined in and is active or has quit/lost all their lives, etc. Player.isPlaying does not affect input returned by the Player.
Public propertyname
The scripting name of the Player. Use descriptiveName instead for the localizable display name.
Top
See Also