A class used to load new scenes while displaying a loading screen
More...
|
static void | LoadScene (string sceneToLoad) |
| Call this static method to load a scene from anywhere More...
|
|
|
virtual void | Start () |
| On Start(), we start loading the new level asynchronously More...
|
|
virtual void | Update () |
| Every frame, we fill the bar smoothly according to loading progress More...
|
|
virtual IEnumerator | LoadAsynchronously () |
| Loads the scene to load asynchronously. More...
|
|
virtual void | LoadingSetup () |
| Sets up all visual elements, fades from black at the start More...
|
|
virtual void | LoadingComplete () |
| Triggered when the actual loading is done, replaces the progress bar with the complete animation More...
|
|
A class used to load new scenes while displaying a loading screen
◆ LoadAsynchronously()
virtual IEnumerator MoreMountains.HighroadEngine.LoadingSceneManager.LoadAsynchronously |
( |
| ) |
|
|
protectedvirtual |
Loads the scene to load asynchronously.
◆ LoadingComplete()
virtual void MoreMountains.HighroadEngine.LoadingSceneManager.LoadingComplete |
( |
| ) |
|
|
protectedvirtual |
Triggered when the actual loading is done, replaces the progress bar with the complete animation
◆ LoadingSetup()
virtual void MoreMountains.HighroadEngine.LoadingSceneManager.LoadingSetup |
( |
| ) |
|
|
protectedvirtual |
Sets up all visual elements, fades from black at the start
◆ LoadScene()
static void MoreMountains.HighroadEngine.LoadingSceneManager.LoadScene |
( |
string |
sceneToLoad | ) |
|
|
static |
Call this static method to load a scene from anywhere
- Parameters
-
◆ Start()
virtual void MoreMountains.HighroadEngine.LoadingSceneManager.Start |
( |
| ) |
|
|
protectedvirtual |
On Start(), we start loading the new level asynchronously
◆ Update()
virtual void MoreMountains.HighroadEngine.LoadingSceneManager.Update |
( |
| ) |
|
|
protectedvirtual |
Every frame, we fill the bar smoothly according to loading progress
◆ _asyncOperation
AsyncOperation MoreMountains.HighroadEngine.LoadingSceneManager._asyncOperation |
|
protected |
◆ _fadeDuration
float MoreMountains.HighroadEngine.LoadingSceneManager._fadeDuration = 0.5f |
|
protected |
◆ _fillTarget
float MoreMountains.HighroadEngine.LoadingSceneManager._fillTarget =0f |
|
protected |
◆ _loadingTextValue
string MoreMountains.HighroadEngine.LoadingSceneManager._loadingTextValue |
|
protected |
◆ _sceneToLoad
string MoreMountains.HighroadEngine.LoadingSceneManager._sceneToLoad = "" |
|
staticprotected |
◆ ExitFadeDuration
float MoreMountains.HighroadEngine.LoadingSceneManager.ExitFadeDuration =0.2f |
◆ LoadCompleteDelay
float MoreMountains.HighroadEngine.LoadingSceneManager.LoadCompleteDelay =0.5f |
◆ LoadingAnimation
CanvasGroup MoreMountains.HighroadEngine.LoadingSceneManager.LoadingAnimation |
◆ LoadingCompleteAnimation
CanvasGroup MoreMountains.HighroadEngine.LoadingSceneManager.LoadingCompleteAnimation |
◆ LoadingProgressBar
CanvasGroup MoreMountains.HighroadEngine.LoadingSceneManager.LoadingProgressBar |
◆ LoadingScreenSceneName
string MoreMountains.HighroadEngine.LoadingSceneManager.LoadingScreenSceneName = "LoadingScreen" |
|
static |
◆ LoadingText
Text MoreMountains.HighroadEngine.LoadingSceneManager.LoadingText |
◆ ProgressBarSpeed
float MoreMountains.HighroadEngine.LoadingSceneManager.ProgressBarSpeed =2f |
◆ SceneActivationASAP
bool MoreMountains.HighroadEngine.LoadingSceneManager.SceneActivationASAP = false |
◆ StartFadeDuration
float MoreMountains.HighroadEngine.LoadingSceneManager.StartFadeDuration =0.2f |
The documentation for this class was generated from the following file: