Player Properties |
The Player type exposes the following members.
Name | Description | |
---|---|---|
descriptiveName |
The descriptive name of the Player.
The returned value will be localized if localization is in use.
| |
id |
The id of the Player.
| |
isPlaying |
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.
| |
name |
The scripting name of the Player.
Use descriptiveName instead for the localizable display name.
|