Summary

Holds a current open scene and its edit state

Constructors

SceneEditorSession

Properties

HasUnsavedChanges
IsGameSession Returns true if this session is the running game
IsPrefabSession Returns true if this session is editing a prefab
OnFrameTo
Scene
Selection
UndoSystem

Methods

AddUndo
BringToFront Bring this scene tab to the front
DeserializeSelection Take a json string created by SerializeSelection and turn it into a selection
Destroy
FrameTo Zoom the scene to view this bbox
FullUndoSnapshotobsolete Take a full scene snapshot for the undo system. This is usually a last resort, if you can't do anything more incremental.
GetParentSession If this is a GameSession then this will return its parent editor session.
MakeActive Makes this scene active and brings it to the front
PushUndoSelectionobsolete Push the current selection into the undo system
RecordChangeobsolete
Reload
Save
SerializeSelection Serlialize the current selection to a json string. The aim here is to make something we can transfer back to objects.
Tick
UndoScope

Static Properties

Active
All

Static Methods

Resolve Resolve a scene to an editor session
Scope Pushes the active editor scene to the current scope
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.