MessageBoxShowMsgBox Method (String, String, String, NullableVector2, Entity, Action) |
Show a message box with just "OK".
Namespace:
GeonBit.UI.Utils
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static MessageBoxMessageBoxHandle ShowMsgBox(
string header,
string text,
string closeButtonTxt = null,
Nullable<Vector2> size = null,
Entity[] extraEntities = null,
Action onDone = null
)
Parameters
- header
- Type: SystemString
Message box title. - text
- Type: SystemString
Main text to write on the message box. - closeButtonTxt (Optional)
- Type: SystemString
Text for the closing button (if not provided will use default). - size (Optional)
- Type: SystemNullableVector2
Message box size (if not provided will use default). - extraEntities (Optional)
- Type: GeonBit.UI.EntitiesEntity
Optional array of entities to add to msg box under the text and above the buttons. - onDone (Optional)
- Type: SystemAction
Optional callback to call when this msgbox closes.
Return Value
Type:
MessageBoxMessageBoxHandleMessage box panel.
See Also