Class PopupManager
Helper class to show popups during the simulation.
Namespace: Global
Assembly: cs.temp.dll.dll
Syntax
public class PopupManager : MonoBehaviour
Methods
QueuePopup(string, string, string, bool)
Enqueue a new popup to be shown once the current queue is exhausted.
If immediate
, attempt to show the popup immediately. Otherwise the queued popup will show up on the next scene load.
Declaration
public static void QueuePopup(string title, string description, string closeText, bool immediate = false)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title of popup. |
string | description | Description of popup. |
string | closeText | Close button text of popup. |
bool | immediate | If prompt should be shown immediately. |