The UI API Manager.
More...
◆ Init()
override void GameJolt.UI.GameJoltUI.Init |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ QueueNotification() [1/3]
void GameJolt.UI.GameJoltUI.QueueNotification |
( |
string |
text | ) |
|
|
inline |
Queues a notification.
- Parameters
-
text | The notification text. |
◆ QueueNotification() [2/3]
void GameJolt.UI.GameJoltUI.QueueNotification |
( |
string |
text, |
|
|
Sprite |
image |
|
) |
| |
|
inline |
Queues a notification.
- Parameters
-
text | The notification text. |
image | The notification image. |
◆ QueueNotification() [3/3]
Queues a notification.
- Parameters
-
◆ ShowLeaderboards() [1/3]
void GameJolt.UI.GameJoltUI.ShowLeaderboards |
( |
| ) |
|
|
inline |
Shows the leaderboards window.
◆ ShowLeaderboards() [2/3]
void GameJolt.UI.GameJoltUI.ShowLeaderboards |
( |
Action< bool > |
callback | ) |
|
|
inline |
Shows the leaderboards window.
- Parameters
-
callback | A callback function accepting a single parameter, a boolean indicating success. |
◆ ShowLeaderboards() [3/3]
void GameJolt.UI.GameJoltUI.ShowLeaderboards |
( |
Action< bool > |
callback, |
|
|
int? |
activeTable, |
|
|
params int [] |
visibleTables |
|
) |
| |
|
inline |
Shows the leaderboards window.
- Parameters
-
callback | A callback function accepting a single parameter, a boolean indicating success. |
activeTable | The table which should be active. If null, the primary table is active. |
visibleTables | The ids of the tables to be shown. If null or empty, all tables are shown. |
◆ ShowSignIn() [1/2]
void GameJolt.UI.GameJoltUI.ShowSignIn |
( |
| ) |
|
|
inline |
Shows the sign in window. If the user's credentials are stored in PlayerPrefs, it will populate the fields with them.
◆ ShowSignIn() [2/2]
void GameJolt.UI.GameJoltUI.ShowSignIn |
( |
Action< bool > |
signedInCallback, |
|
|
Action< bool > |
userFetchedCallback = null |
|
) |
| |
|
inline |
Shows the sign in windows. If the user's credentials are stored in PlayerPrefs, it will populate the fields with them.
- Parameters
-
signedInCallback | A callback function accepting a single parameter, a boolean indicating whether the user has been signed-in successfully. |
userFetchedCallback | A callback function accepting a single parameter, a boolean indicating whether the user's information have been fetched successfully. |
◆ ShowTrophies() [1/2]
void GameJolt.UI.GameJoltUI.ShowTrophies |
( |
| ) |
|
|
inline |
Shows the trophies windows.
◆ ShowTrophies() [2/2]
void GameJolt.UI.GameJoltUI.ShowTrophies |
( |
Action< bool > |
callback | ) |
|
|
inline |
Shows the trophies windows.
- Parameters
-
callback | A callback function accepting a single parameter, a boolean indicating success. |
The documentation for this class was generated from the following file:
- D:/Dev/Unity/AssetStore/GameJoltAPI/Assets/Plugins/GameJolt/Scripts/UI/GameJoltUI.cs