docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PolySpatialRuntime

    Methods for querying the state of the PolySpatial Runtime

    Inheritance
    object
    PolySpatialRuntime
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)