A base class to help load resources or dependencies on startup.
More...
A base class to help load resources or dependencies on startup.
Each type of StartupLoader
executes different loading steps depending on the resource or dependency, but every StartupLoader
communicates updates and state to the FAST.StartupManager and the FAST.LoadingScreenManager.
- See also
- UnityEngine.Events.UnityEvent
-
UnityEngine.Coroutine
◆ Awake()
◆ ExecuteLoad()
IEnumerator ExecuteLoad |
( |
| ) |
|
|
abstractprotected |
The Coroutine
function that executes the loading of a resource or dependency, including progress and error messages.
◆ Load()
◆ errorEvent
Inspector, Code
Calls the function(s) subscribed to this UnityEvent
when there is an error message.
◆ errorMessage
A variable to compose an error message and details before invoking the FAST.StartupLoader.errorEvent.
Using this to implement a derived class is a convention, but not strictly required.
◆ errorTitle
A variable to compose an error message title before invoking the FAST.StartupLoader.errorEvent.
Using this to implement a derived class is a convention, but not strictly required.
◆ loadingEvent
Inspector, Code
Calls the function(s) subscribed to this UnityEvent
when there is a loading progress message.
◆ loadingMessage
A variable to compose a loading progress message and details before invoking the FAST.StartupLoader.loadingEvent.
Using this to implement a derived class is a convention, but not strictly required.
◆ loadingMessageDuration
float loadingMessageDuration = 0f |
|
protected |
◆ loadingTitle
A variable to compose a loading progress message title before invoking the FAST.StartupLoader.loadingEvent.
Using this to implement a derived class is a convention, but not strictly required.
◆ needToLoadCount
◆ successEvent
Inspector, Code
Calls the function(s) subscribed to this UnityEvent
when loading is done.
The documentation for this class was generated from the following file:
- C:/Users/cgbrown/Development/git/FAST/FAST-SDK/Runtime/Startup/Startup Loaders/StartupLoader.cs