FAST SDK Coding Reference 1.0.3
|
Loads the activity configuration and settings XML files on startup. More...
Private Attributes | |
ConfigSettings | configSettings |
Settings, Runtime The configuration settings loaded at runtime. | |
MonoScript | settingsScript |
Inspector The script that derives from FAST.BaseSettings to define the settings for this activity. | |
Additional Inherited Members | |
![]() | |
void | Load () |
Runs the FAST.StartupLoader.ExecuteLoad() Coroutine | |
![]() | |
StartupErrorMessageEvent | errorEvent |
Inspector, Code Calls the function(s) subscribed to this UnityEvent when there is an error message. | |
StartupLoadingMessageEvent | loadingEvent |
Inspector, Code Calls the function(s) subscribed to this UnityEvent when there is a loading progress message. | |
StartupSuccessEvent | successEvent |
Inspector, Code Calls the function(s) subscribed to this UnityEvent when loading is done. | |
![]() | |
static int | needToLoadCount = 0 |
The number of FAST.StartupLoaders to execute on startup. | |
![]() | |
virtual void | Awake () |
The default behavior is to increment the FAST.StartupLoader.needToLoadCount. | |
IEnumerator | ExecuteLoad () |
The Coroutine function that executes the loading of a resource or dependency, including progress and error messages. | |
![]() | |
string | errorMessage |
A variable to compose an error message and details before invoking the FAST.StartupLoader.errorEvent. | |
string | errorTitle |
A variable to compose an error message title before invoking the FAST.StartupLoader.errorEvent. | |
string | loadingMessage |
A variable to compose a loading progress message and details before invoking the FAST.StartupLoader.loadingEvent. | |
float | loadingMessageDuration = 0f |
Inspector The amount of time in seconds to show a FAST.LoadingProgress message. | |
string | loadingTitle |
A variable to compose a loading progress message title before invoking the FAST.StartupLoader.loadingEvent. | |
Loads the activity configuration and settings XML files on startup.
If the configuration file doesn't exist, it will be written to the FAST.Application.activityDirectory. And if the settings file doesn't exist, it will be written to the FAST.Application.assetsDirectory.
|
private |
Settings, Runtime
The configuration settings loaded at runtime.
The skin is specified here and used to load the correct activity settings.
|
private |
Inspector
The script that derives from FAST.BaseSettings to define the settings for this activity.