FAST SDK Coding Reference 1.0.3
Loading...
Searching...
No Matches
StartupManager Class Reference

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.
 

Detailed Description

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. UnityEvents 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.

Warning
If you find yourself trying to use FAST.StartupManager in code, you may want to review the Startup documentation to make sure you are following FAST best practices.
See also
UnityEngine.Events.UnityEvent

Member Data Documentation

◆ 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.

◆ serialConnectionLoaders

SerialConnectionLoader [] serialConnectionLoaders = { }
static

An array of all FAST.SerialConnectionLoaders loaded at startup.

This is initialized by during startup after all loaders have completed.

◆ startupLoaders

StartupLoader [] startupLoaders
private

Runtime
The list of FAST.StartupLoaders to load.

◆ successEvent

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).

◆ udpConnectionLoaders

UdpConnectionLoader [] udpConnectionLoaders = { }
static

An array of all FAST.UdpConnectionLoaders loaded at startup.

This is initialized by during startup after all loaders have completed.

◆ webRequestLoaders

WebRequestLoader [] webRequestLoaders = { }
static

An array of all FAST.WebRequestLoaders loaded at startup.

This is initialized by during startup after all loaders have completed.


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