Class PolySpatialRuntime
Methods for querying the state of the PolySpatial Runtime
Inherited Members
Namespace: Unity.PolySpatial
Assembly: Unity.PolySpatial.Core.dll
Syntax
public static class PolySpatialRuntime
Properties
Enabled
True if the PolySpatial Runtime is initialized and running.
Declaration
public static bool Enabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
InitializeOnStartup
True if the PolySpatial Runtime will be initialized when the Unity runtime is starting up (either by entering Editor Play Mode or launching a player build).
Declaration
public static bool InitializeOnStartup { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
IsCommandPlayback()
True while a Command Playback session is active on the running runtime, or staged for the next play mode. Always false in player builds.
Declaration
public static bool IsCommandPlayback()
Returns
| Type | Description |
|---|---|
| bool | True if a Command Playback session is active or staged for the next play mode; false otherwise. |