|
| static bool | CanBeUnloaded (this Scene scene) |
| | Returns true if scene can be unloaded. More...
|
| |
| static int | CompareRawHandle (this Scene scene, ObjectIdType id) |
| | Compares the object id to the internal handle of scene More...
|
| |
| static string | Dump (this LoadSceneParameters loadSceneParameters) |
| | Converts loadSceneParameters to string. More...
|
| |
| static string | Dump (this Scene scene) |
| | Converts scene into string, dumping all its fields and properties. More...
|
| |
| static T | GetComponentInHierarchyOrder< T > (this Scene scene, bool includeInactive=false, Predicate< T > exclude=null) |
| | Gets first component on a scene. More...
|
| |
| static T[] | GetComponentsInHierarchyOrder< T > (IList< GameObject > roots, bool includeInactive=false, Predicate< T > exclude=null) |
| | Gets all the component present on a scene, depth first. More...
|
| |
| static T[] | GetComponentsInHierarchyOrder< T > (this Scene scene, bool includeInactive=false, Predicate< T > exclude=null) |
| | Gets all the component present on a scene, depth first. More...
|
| |
| static ulong | GetRawHandle (this Scene scene) |
| | Gets the raw handle of a scene More...
|
| |
| static void | GetRootGameObjectsInHierarchyOrder (this Scene scene, List< GameObject > rootGameObjects) |
| | Gets all the root GameObjects, sorted by their simbling index. More...
|
| |
| static int | GetSceneBuildIndex (string nameOrPath) |
| | Gets scene's build index based on its name or path. More...
|
| |
| static T | GetSingleComponentOrThrow< T > (this Scene scene, bool includeInactive=false, Predicate< T > exclude=null) |
| | Gets a component on a scene. If there are none or more than one, throws an exception. More...
|
| |
| static bool | IsAddedToBuildSettings (this Scene scene) |
| | Returns true if scene is in the build settings. Note that just checking Scene.buildIndex is not enough. More...
|
| |
Exension and utility methods for SceneManager and Scene types.