Exension and utility methods for SceneManager and Scene types. More...
Classes | |
class | SceneEqualityComparer |
A comparer that can be used when scenes need to be comparable, like when being as keys in a dictionary. More... | |
Static Public Member Functions | |
static bool | CanBeUnloaded (this Scene scene) |
Returns true if scene can be unloaded. 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 int | GetSceneBuildIndex (string nameOrPath) |
Gets scene's build index based on its name or path. 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.
|
inlinestatic |
Returns true if scene is in the build settings. Note that just checking Scene.buildIndex is not enough.
|
inlinestatic |
Returns true if scene can be unloaded.
scene |
|
inlinestatic |
Converts scene into string, dumping all its fields and properties.
|
inlinestatic |
Converts loadSceneParameters to string.
|
inlinestatic |
Gets scene's build index based on its name or path.