GeonBit.UI Documentation
MessageBox Class |
Helper class to generate message boxes and prompts.

Namespace: GeonBit.UI.Utils
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)

C#
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) |
Show a message box with just "OK".
|
![]() ![]() | ShowMsgBox(String, String, MessageBoxMsgBoxOption, Entity, NullableVector2, Action) |
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.
|
