Provides access to player settings and functionality.
More...
Provides access to player settings and functionality.
Definition at line 30 of file Player.cs.
◆ IsConnected()
| bool TiltFive.Player.IsConnected |
( |
PlayerIndex | playerIndex | ) |
|
|
inlinestatic |
Determines whether the specified player has an associated pair of glasses connected.
- Parameters
-
- Returns
Definition at line 48 of file Player.cs.
◆ TryGetFriendlyName()
| bool TiltFive.Player.TryGetFriendlyName |
( |
PlayerIndex | playerIndex, |
|
|
out string | friendlyName ) |
|
inlinestatic |
Attempts to get the friendly name assigned to the specified player's glasses.
- Parameters
-
- Returns
Definition at line 60 of file Player.cs.
◆ TryGetSettings()
Obtains the PlayerSettings corresponding to the specified player.
- Parameters
-
| playerIndex | |
| playerSettings | |
- Returns
- Returns false and sets playerSettings to null if the provided player index is invalid, or if there are no player settings defined in the scene due to the absence of a TiltFiveManager2 or TiltFiveManager.
Definition at line 79 of file Player.cs.
The documentation for this class was generated from the following file:
- C:/Users/mail1/Documents/t5sw/sdk/unity/unity_package/Runtime/Player/Player.cs