Scene Processor
This abstract class provides a basic structure that manages scene rendering operations. SceneProcessor
implements the ISceneProcessable
interface.
Members
protected SceneLoadingState m_loadingState { get; }
:An
m_loadingState
object that represents the loading state.
protected LoadSceneMode m_loadSceneMode
:An
m_loadSceneMode
variable representing the loading mode.
Methods
Returns the loading status.
It is an abstract method. Derived classes must implement this method. Starts the transaction process.
Parameters:
sceneName
: Name of the scene to load.onCompleted
: The action that will be called when the installation process is completed (defaults to null).
Calls the
SceneLoader.LoadScene()
method to load the scene.
Parameters:
scene
: The scene to be evacuated.onCompleted
: The action that will be called when the dump is complete (defaults to null).
Calls the SceneLoader.UnloadScene() method to unload the scene.
Parameters:
task
: ASceneLoadingTas
k object that represents the task of the loading operation.
It is a helper method that starts the installation process.
It starts the process with the
SceneManager.LoadSceneAsync()
method.
Parameters:
task
: ASceneLoadingTask
object that represents the task of the offloading operation.
It is a helper method that starts the unloading process.
It starts the process with the
SceneManager.UnloadSceneAsync()
method.
This abstract class provides a basic structure that manages scene rendering operations.
Last updated