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

Loads image, video, and audio assets from the Assets folder where this activity is installed on startup. More...

Inheritance diagram for AssetsLoader:
StartupLoader

Private Attributes

string assetsPath
 Runtime
The path to the Assets folder where this activity is installed.
 
List< string > languagePaths
 Runtime
The paths to the available language folders where this activity is installed.
 
List< string > languages
 Runtime
The available languages for the activity.
 
string skin
 Runtime
The current skin for the activity.
 
string skinPath
 Runtime
The path to the current skin folder where this activity is installed.
 

Additional Inherited Members

- Public Member Functions inherited from StartupLoader
void Load ()
 Runs the FAST.StartupLoader.ExecuteLoad() Coroutine
 
- Public Attributes inherited from StartupLoader
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 Public Attributes inherited from StartupLoader
static int needToLoadCount = 0
 The number of FAST.StartupLoaders to execute on startup.
 
- Protected Member Functions inherited from StartupLoader
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.
 
- Protected Attributes inherited from StartupLoader
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.
 

Detailed Description

Loads image, video, and audio assets from the Assets folder where this activity is installed on startup.

The assets for the current skin and available languages specified in the FAST.AssetSettings are loaded into FAST.Application.assets.

Member Data Documentation

◆ assetsPath

string assetsPath
private

Runtime
The path to the Assets folder where this activity is installed.

◆ languagePaths

List<string> languagePaths
private

Runtime
The paths to the available language folders where this activity is installed.

◆ languages

List<string> languages
private

Runtime
The available languages for the activity.

◆ skin

string skin
private

Runtime
The current skin for the activity.

◆ skinPath

string skinPath
private

Runtime
The path to the current skin folder where this activity is installed.


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