FAST SDK Coding Reference 1.0.3
|
Implements startup and loader management. Not meant to be used directly in code, but you may want to customize the event callbacks in the Inspector. More...
Public Attributes | |
StartupLoadingPercentEvent | loadingEvent |
Inspector Calls the function(s) subscribed to this UnityEvent when a FAST.StartupLoader is done loading. | |
StartupSuccessEvent | successEvent |
Inspector Calls the function(s) subscribed to this UnityEvent when all FAST.StartupLoaders are done loading. | |
Static Public Attributes | |
static SerialConnectionLoader[] | serialConnectionLoaders = { } |
An array of all FAST.SerialConnectionLoaders loaded at startup. | |
static UdpConnectionLoader[] | udpConnectionLoaders = { } |
An array of all FAST.UdpConnectionLoaders loaded at startup. | |
static WebRequestLoader[] | webRequestLoaders = { } |
An array of all FAST.WebRequestLoaders loaded at startup. | |
Private Attributes | |
StartupLoader[] | startupLoaders |
Runtime The list of FAST.StartupLoaders to load. | |
Implements startup and loader management. Not meant to be used directly in code, but you may want to customize the event callbacks in the Inspector.
This class runs through a list of FAST.StartupLoaders to load and initialize resources on startup. UnityEvent
s are triggered after each load for a progress update and a final event is triggered when all FAST.StartupLoaders have loaded. Default functionality is included in the Startup Prefab
.
StartupLoadingPercentEvent loadingEvent |
Inspector
Calls the function(s) subscribed to this UnityEvent
when a FAST.StartupLoader is done loading.
The default functionality included in the Startup Prefab
updates the loading progress bar as a percentage of # of FAST.StartupLoaders loaded / total # of FAST.StartupLoaders * 100.
|
static |
An array of all FAST.SerialConnectionLoaders loaded at startup.
This is initialized by during startup after all loaders have completed.
|
private |
Runtime
The list of FAST.StartupLoaders to load.
StartupSuccessEvent successEvent |
Inspector
Calls the function(s) subscribed to this UnityEvent
when all FAST.StartupLoaders are done loading.
The default functionality included in the Startup Prefab
turns off the loading screen and turns on a a white screen saver (to help reduce display burn-in).
|
static |
An array of all FAST.UdpConnectionLoaders loaded at startup.
This is initialized by during startup after all loaders have completed.
|
static |
An array of all FAST.WebRequestLoaders loaded at startup.
This is initialized by during startup after all loaders have completed.