docs.unity.cn
    Show / Hide Table of Contents

    Class SceneManagerState

    Serializable object that can be used to save and restore the state of the editor scene manager.

    Inheritance
    Object
    SceneManagerState
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    [Serializable]
    public class SceneManagerState

    Methods

    Name Description
    AddScenesForPlayMode(List<EditorBuildSettingsScene>)

    Adds a set of scenes to the scene list for use in editor play mode.

    Record(String)

    Record the state of the EditorSceneManager and save to a JSON file.

    Restore(String, Boolean)

    Restore the state of the EditorSceneManager.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use