TopDown Engine  v4.2
MoreMountains.Tools.MMLoadScene Class Reference

Add this component on an object, specify a scene name in its inspector, and call LoadScene() to load the desired scene. More...

Inheritance diagram for MoreMountains.Tools.MMLoadScene:

Public Types

enum  LoadingSceneModes { LoadingSceneModes.UnityNative, LoadingSceneModes.MMSceneLoadingManager, LoadingSceneModes.MMAdditiveSceneLoadingManager }
 the possible modes to load scenes. Either Unity's native API, or MoreMountains' LoadingSceneManager More...
 

Public Member Functions

virtual void LoadScene ()
 Loads the scene specified in the inspector More...
 

Public Attributes

string SceneName
 the name of the scene that needs to be loaded when LoadScene gets called More...
 
LoadingSceneModes LoadingSceneMode = LoadingSceneModes.UnityNative
 defines whether the scene will be loaded using Unity's native API or MoreMountains' way More...
 

Detailed Description

Add this component on an object, specify a scene name in its inspector, and call LoadScene() to load the desired scene.

Member Enumeration Documentation

◆ LoadingSceneModes

the possible modes to load scenes. Either Unity's native API, or MoreMountains' LoadingSceneManager

Enumerator
UnityNative 
MMSceneLoadingManager 
MMAdditiveSceneLoadingManager 

Member Function Documentation

◆ LoadScene()

virtual void MoreMountains.Tools.MMLoadScene.LoadScene ( )
virtual

Loads the scene specified in the inspector

Member Data Documentation

◆ LoadingSceneMode

LoadingSceneModes MoreMountains.Tools.MMLoadScene.LoadingSceneMode = LoadingSceneModes.UnityNative

defines whether the scene will be loaded using Unity's native API or MoreMountains' way

◆ SceneName

string MoreMountains.Tools.MMLoadScene.SceneName

the name of the scene that needs to be loaded when LoadScene gets called


The documentation for this class was generated from the following file: