This helper class, meant to be used by the MMAdditiveSceneLoadingManager, creates a temporary scene to store objects that might get instantiated, and empties it in the destination scene once loading is complete
More...
|
virtual void | OnActiveSceneChanged (Scene from, Scene to) |
| Once the destination scene has been loaded, we catch that event and prepare to empty More...
|
|
virtual void | EmptyAntiSpillScene () |
| Empties the contents of the anti spill scene into the destination scene More...
|
|
This helper class, meant to be used by the MMAdditiveSceneLoadingManager, creates a temporary scene to store objects that might get instantiated, and empties it in the destination scene once loading is complete
◆ EmptyAntiSpillScene()
virtual void MoreMountains.Tools.MMSceneLoadingAntiSpill.EmptyAntiSpillScene |
( |
| ) |
|
|
protectedvirtual |
Empties the contents of the anti spill scene into the destination scene
◆ OnActiveSceneChanged()
virtual void MoreMountains.Tools.MMSceneLoadingAntiSpill.OnActiveSceneChanged |
( |
Scene |
from, |
|
|
Scene |
to |
|
) |
| |
|
protectedvirtual |
Once the destination scene has been loaded, we catch that event and prepare to empty
- Parameters
-
◆ PrepareAntiFill()
virtual void MoreMountains.Tools.MMSceneLoadingAntiSpill.PrepareAntiFill |
( |
string |
sceneToLoadName | ) |
|
|
virtual |
Creates the temporary scene
- Parameters
-
◆ _antiSpillScene
Scene MoreMountains.Tools.MMSceneLoadingAntiSpill._antiSpillScene |
|
protected |
◆ _destinationScene
Scene MoreMountains.Tools.MMSceneLoadingAntiSpill._destinationScene |
|
protected |
◆ _onActiveSceneChangedCallback
UnityAction<Scene, Scene> MoreMountains.Tools.MMSceneLoadingAntiSpill._onActiveSceneChangedCallback |
|
protected |
◆ _sceneToLoadName
string MoreMountains.Tools.MMSceneLoadingAntiSpill._sceneToLoadName |
|
protected |
◆ _spillSceneRoots
List<GameObject> MoreMountains.Tools.MMSceneLoadingAntiSpill._spillSceneRoots = new List<GameObject>(50) |
|
protected |
The documentation for this class was generated from the following file: