mScene

Summary

Task for doing Scene management. This class cannot be inherited.

Relation

mTask

Property

loadHandler Loading handler
scene Unity scene object.
behaviour Scene behaviour handler

Method

CreateEmpty( ) Creates the empty.
ContainsScene(System.String) Determines whether the specified path contains scene.
Load(UIDataItem,mScene) Load a new scene.
Load(System.String,UIDataItem,mScene) Load a new scene.
Return(mScene) Return to the previous scene.
Return(System.String,mScene) Return to the previous scene.
Unload(System.Boolean) Unloads the scene.
Dispose(System.Boolean) Destroy task
OnPreUnload(System.Func{mScene,mTask}) Callback settings to be executed before being unloaded
OnPostLoad(System.Func{mScene,mTask}) Callback settings to be executed after loaded
OnPreLoad(System.Func{mScene,mTask}) Callback settings to be executed after loaded

Reference