Battle Talent  V11
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CrossLink.LevelMgr Class Reference

Public Member Functions

bool IsJustLoadedLevel (float ct)
 
void LoadLevel (string levelName)
 
string GetLoadingSceneName ()
 
void LoadScene (string name)
 Loads a scene More...
 
bool IsLoadingScene ()
 
void ClearLoading ()
 
SceneLayout GetCurrentSceneLayout ()
 
void InitLevel (LevelDescription ld)
 
void LoadContent (SceneObjLayout[] layoutList, SceneObjDesc[] objList, System.Action< GameObject, SceneObjLayout, SceneObjDesc > OnFit=null)
 
SceneObjLayout FindLayoutByPlaceName (SceneObjLayout[] layoutList, string placeName)
 

Public Attributes

List< System.Action > exeOnceAfterLoad = new List<System.Action>()
 

Static Public Attributes

static LevelMgr Instance = new LevelMgr()
 
const string LDPath = "Levels/LvData/LD_"
 

Member Function Documentation

◆ LoadScene()

void CrossLink.LevelMgr.LoadScene ( string  name)

Loads a scene

Parameters
nameName of the scene to load