GeonBit.UI Documentation
MessageBox Class |
Helper class to generate message boxes and prompts.
Inheritance Hierarchy
Namespace: GeonBit.UI.Utils
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class MessageBox
The MessageBox type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsMsgBoxOpened |
Get if there's a message box currently opened.
| |
OpenedMsgBoxesCount |
Count currently opened message boxes.
|
Methods
Name | Description | |
---|---|---|
ShowMsgBox(String, String, String, NullableVector2) |
Show a message box with just "OK".
| |
ShowMsgBox(String, String, MessageBoxMsgBoxOption, Entity, NullableVector2, Action) |
Show a message box with custom buttons and callbacks.
|
Fields
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.
|
See Also