Class SceneStateCleanup
Cleans up scenes in the scene manager.
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. |