docs.unity3d.com
    Show / Hide Table of Contents

    Class XRGeneralSettings

    General settings container used to house the instance of the active settings as well as the manager instance used to load the loaders with.

    Inheritance
    Object
    XRGeneralSettings
    Namespace: UnityEngine.XR.Management
    Syntax
    public class XRGeneralSettings : ScriptableObject

    Fields

    k_SettingsKey

    The key used to query to get the current loader settings.

    Declaration
    public static string k_SettingsKey
    Field Value
    Type Description
    String

    Properties

    AssignedSettings

    The current active manager used to manage XR lifetime.

    Declaration
    public XRManagerSettings AssignedSettings { get; }
    Property Value
    Type Description
    XRManagerSettings

    InitManagerOnStart

    Used to set if the manager is activated and initialized on startup.

    Declaration
    public bool InitManagerOnStart { get; }
    Property Value
    Type Description
    Boolean

    Instance

    The current settings instance.

    Declaration
    public static XRGeneralSettings Instance { get; }
    Property Value
    Type Description
    XRGeneralSettings

    Manager

    The current active manager used to manage XR lifetime.

    Declaration
    public XRManagerSettings Manager { get; set; }
    Property Value
    Type Description
    XRManagerSettings
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023