| MessageBox Class |
Namespace: GeonBit.UI.Utils
public static class MessageBox
The MessageBox type exposes the following members.
| Name | Description | |
|---|---|---|
| IsMsgBoxOpened |
Get if there's a message box currently opened.
| |
| OpenedMsgBoxesCount |
Count currently opened message boxes.
|
| Name | Description | |
|---|---|---|
| ShowMsgBox(String, String, String, NullableVector2, Entity, Action) |
Show a message box with just "OK".
| |
| ShowMsgBox(String, String, MessageBoxMsgBoxOption, Entity, NullableVector2, Action, Entity) |
Show a message box with custom buttons and callbacks.
|
| Name | Description | |
|---|---|---|
| BackgroundFaderColor |
Will block and fade background with this color while messages are opened.
| |
| DefaultMsgBoxSize |
Default size to use for message boxes.
| |
| DefaultOkButtonText |
Default text for OK button.
|