Class LoadingPrompt
Methods to manage the display of a loading spinner prompt.
Inherited Members
Namespace: GTA.UI
Assembly: ScriptHookVDotNet3.dll
Syntax
public static class LoadingPrompt
Properties
| Improve this Doc View SourceIsActive
Gets a value indicating whether the Loading Prompt is currently being displayed
Declaration
public static bool IsActive { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceHide()
Remove the loading prompt at the bottom right of the screen
Declaration
public static void Hide()
Show(String, LoadingSpinnerType)
Creates a loading prompt at the bottom right of the screen with the given text and spinner type
Declaration
public static void Show(string loadingText = null, LoadingSpinnerType spinnerType = LoadingSpinnerType.RegularClockwise)
Parameters
Type | Name | Description |
---|---|---|
String | loadingText | The text to display next to the spinner |
LoadingSpinnerType | spinnerType | The style of spinner to draw |
Remarks
Clockwise1, Clockwise2, Clockwise3 and RegularClockwise all see to be the same. But Rockstar apparently always uses RegularClockwise in their scripts.