FrameIT
Loader Class Reference

Classes

class  MonoDummy
 

Static Public Member Functions

static bool LoadStage (string name, bool local, bool restore_session)
 Tries to init (via StageStatic.LoadInitStage(string, bool, bool, GameObject)) defined Stage and load it (via LoadScene(string)). More...
 
static void LoadScene (string scene)
 Sets nextscene and synchronously loads "LoadingScene", which in turn will asynchronously load scene . More...
 
static void LoadScene (Scene scene)
 Wrapps LoadScene(string)
// TODO: needed? used in Inspector? More...
 
static void PostLoad ()
 Called when LoadingScreenPercentage is destroyed. More...
 
static void LoaderCallback ()
 Called when LoadingScreenPercentage starts and loads asynchronously nextscene.
sets loadingscene More...
 

Properties

static float? progress [get]
 return loadingscene == null ? 1f : loadingscene.progress; More...
 
static bool? isDone [get]
 return loadingscene == null ? true : loadingscene.isDone; More...
 

Static Private Attributes

static AsyncOperation loadingscene
 null or current AsyncOperation loading a Scene. More...
 
static string nextscene
 Defines last Scene loaded by this and/ or to be loaded when calling LoaderCallback. More...
 

Member Function Documentation

◆ LoaderCallback()

static void Loader.LoaderCallback ( )
static

Called when LoadingScreenPercentage starts and loads asynchronously nextscene.
sets loadingscene

◆ LoadScene() [1/2]

static void Loader.LoadScene ( Scene  scene)
static

Wrapps LoadScene(string)
// TODO: needed? used in Inspector?

Sets nextscene and synchronously loads "LoadingScene", which in turn will asynchronously load scene .

◆ LoadScene() [2/2]

static void Loader.LoadScene ( string  scene)
static

Sets nextscene and synchronously loads "LoadingScene", which in turn will asynchronously load scene .

Parameters
scenesets nextscene

◆ LoadStage()

static bool Loader.LoadStage ( string  name,
bool  local,
bool  restore_session 
)
static

◆ PostLoad()

static void Loader.PostLoad ( )
static

Called when LoadingScreenPercentage is destroyed.

Does currently nothing.

Member Data Documentation

◆ loadingscene

AsyncOperation Loader.loadingscene
staticprivate

null or current AsyncOperation loading a Scene.

◆ nextscene

string Loader.nextscene
staticprivate

Defines last Scene loaded by this and/ or to be loaded when calling LoaderCallback.

Property Documentation

◆ isDone

bool? Loader.isDone
staticget

return loadingscene == null ? true : loadingscene.isDone;

◆ progress

float? Loader.progress
staticget

return loadingscene == null ? 1f : loadingscene.progress;


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