docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneStateCleanup

    Cleans up scenes in the scene manager.

    Inheritance
    Object
    SceneStateCleanup
    Namespace: UnityEditor.Build.Utilities
    Syntax
    public class SceneStateCleanup : IDisposable

    Constructors

    SceneStateCleanup()

    Creates a new scene state cleanup object.

    Declaration
    public SceneStateCleanup()

    Methods

    Dispose()

    Disposes of the scene state cleanup instance.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes of the scene state cleanup instance.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    Set to true to reset the scenes list. Set to false to leave the scenes list as is.

    Back to top
    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