Class DuplicateScenes
Tool helper class used to duplicate loaded scenes (backup them) and restore later. Used for play in-editor functionality.
Inheritance
System.Object
DuplicateScenes
Namespace: FlaxEditor.Utilities
Assembly: FlaxEngine.CSharp.dll
Syntax
public class DuplicateScenes : Object
Constructors
DuplicateScenes()
Declaration
public DuplicateScenes()
Properties
HasData
Checks if scene data has been gathered.
Declaration
public bool HasData { get; }
Property Value
System.Boolean
|
WasDirty
Gets a value indicating whether any scene was dirty before gathering.
Declaration
public bool WasDirty { get; }
Property Value
System.Boolean
|
Methods
CreateScenes()
Deserialize captured scenes.
Declaration
public void CreateScenes()
GatherSceneData()
Collect loaded scenes data.
Declaration
public void GatherSceneData()
RestoreSceneData()
Restore captured scene data.
Declaration
public void RestoreSceneData()
UnloadScenes()
Deletes the creates scenes for the simulation.
Declaration
public void UnloadScenes()