docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRGeneralSettingsUpgrade

    Helper class to auto update settings across versions.

    Inheritance
    object
    XRGeneralSettingsUpgrade
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.XR.Management
    Assembly: Unity.XR.Management.Editor.dll
    Syntax
    public static class XRGeneralSettingsUpgrade

    Methods

    UpgradeSettingsToPerBuildTarget(string)

    Worker API to do the actual upgrade

    Declaration
    public static bool UpgradeSettingsToPerBuildTarget(string path)
    Parameters
    Type Name Description
    string path

    Path to asset to upgrade

    Returns
    Type Description
    bool

    True if settings were successfullly upgraded, else false.

    In This Article
    Back to top
    Copyright © 2025 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)