Properties

HasUnsavedChanges True if this scene has unsaved changes
Scene The scene for this session
SelectedGameObject If we have any gameobjects selected, return the first one
Selection Selection system for this session
TransientFilesystem Get the filesystem in which temporary files can be created. These files can be used (and shipped) by a package, but won't be stored in source control. This is usually used for files that are expected to be re-generated at runtime by the package itself.

Methods

AddSelectionUndoobsolete You have changed the editor's selection, add a new undo entry
AddUndo Add a new undo entry
FrameTo
GetSceneFolder Get the folder for this scene. This is a folder in which we can store assets that are referenced by this scene. Things like envmap textures, lightmaps, baked data, etc.
GetSelectionobsolete Gets the current selection from the editor
OnEditLogobsolete
RecordChangeobsolete Tell undo about this property change
Save Save this scene to disk
UndoScope
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.