|
FAST SDK Coding Reference 1.0.5
|
Manages the GUI for the startup loading screen progress and errors. Not meant to be used directly in code. More...
Public Member Functions | |
| void | UpdateErrorMessage (string heading, string message) |
| Updates the title and message on all LoadingProgresses when an error occurs. | |
| void | UpdateProgressMessage (string heading, string details) |
| Updates the title and message on all LoadingProgresses. | |
| void | UpdateProgressPercent (int percent) |
| Updates the progress bar percentage on all LoadingProgresses. | |
Private Attributes | |
| LoadingProgress[] | loadingProgresses |
| List of progress bars to update when an update function is called. | |
Manages the GUI for the startup loading screen progress and errors. Not meant to be used directly in code.
Default functionality is included in the Startup Prefab.
| void UpdateErrorMessage | ( | string | heading, |
| string | message ) |
Updates the title and message on all LoadingProgresses when an error occurs.
Called by a FAST.StartupLoader when there is an error.
| heading | The title of the error message. |
| message | The error message and any additional details. |
| void UpdateProgressMessage | ( | string | heading, |
| string | details ) |
Updates the title and message on all LoadingProgresses.
Called by a FAST.StartupLoader when loading status and feedback is needed.
| heading | The title of the message. |
| details | The message and any additional details. |
| void UpdateProgressPercent | ( | int | percent | ) |
Updates the progress bar percentage on all LoadingProgresses.
Called by FAST.StartupManager every time a FAST.StartupLoader is loaded during startup.
| percent | The progress bar percentage in the range [0, 100]. |
|
private |
List of progress bars to update when an update function is called.
Usually there is one LoadingProgress per display.