Scene Management Addressable

Multi-scene workflow scene manager.

Requires Addressables.

Public Properties

Name
Type
Description

LoadedScenes

List<SceneSO>

Returns list of loaded scenes.

TransitionManager

SceneLoadTransitionManager

Dictionary of SceneTransition

Public Methods

LoadSceneRequest

Unload list of scenes then load list of scenes with transition.

public void LoadSceneRequest(List<SceneSO> scenesToLoad, List<SceneSO> scenesToUNNLoad, SceneLoadTransition sceneLoadTransitionType)

LoadScene (List)

Load list of scenes with transition.

public void LoadScenes(List<SceneSO> scenesToLoad, SceneLoadTransition sceneLoadTransitionType)

LoadScene (Single)

Load a single scene with transition.

public void LoadScene(SceneSO sceneToLoad, SceneLoadTransition sceneLoadTransitionType)

LoadScene (Single without transition)

Load a single scene without transition.

public void LoadScene(SceneSO sceneToLoad)

UnLoadScene (List)

Unload list of scenes with transition.

public void UnLoadScenes(List<SceneSO> scenesToUNNLoad, SceneLoadTransition sceneLoadTransitionType)

UnLoadScene (Single)

Unload a single scene with transition.

public void UnLoadScene(SceneSO sceneToLoad, SceneLoadTransition sceneLoadTransitionType)

UnLoadScene (Single without transition)

Unload a single scene without transition.

public void UnLoadScene(SceneSO sceneToLoad)

LoadSceneAndUnLoadCurrent (List)

Unload all current scenes then load list of scenes with transition.

public void LoadSceneAndUnLoadCurrent(List<SceneSO> scenesToLoad, SceneLoadTransition sceneLoadTransitionType)

LoadSceneAndUnLoadCurrent (Single)

Unload all current scenes then load a single scene with transition.

public void LoadSceneAndUnLoadCurrent(SceneSO sceneToLoad, SceneLoadTransition sceneLoadTransitionType)

UnloadAllCurrent

Unload all current scenes with transition.

public void UnloadAllCurrent(SceneLoadTransition sceneLoadTransitionType)

SetActiveScene

Sets the active scene.

Must be called before loading the scene to set as active.

public void SetActiveScene(SceneSO scene)

IsLoaded

Returns true if scene is loaded.

public bool IsLoaded(SceneSO gameSceneSO)

Last updated