More...
|
| bool | IsPlayer [get] |
| | Returns true if the platform context represents a player.
|
| |
| bool | IsServer [get] |
| | Returns true if the platform context represents a server.
|
| |
| bool | IsEditor [get] |
| | Returns true if the platform context represents the Unity Editor.
|
| |
| bool | IsXrDevice [get] |
| | Returns true if the platform device represents an XR-compatible device.
|
| |
Properties inherited from IPlatformInfoService |
◆ GetContext()
Gets the platform context. These are flags, as the context may represent multiple roles at once, for example Editor and Player.
Implements IPlatformInfoService.
◆ GetDevice()
◆ GetVersion()
◆ IsEditor
◆ IsPlayer
◆ IsServer
◆ IsXrDevice
Returns true if the platform device represents an XR-compatible device.
Implements IPlatformInfoService.
The documentation for this class was generated from the following file:
- Runtime/Lifecycle/Services/PlatformInfoService.cs