|
ClassicCityBuilderKit 1.9.4
|
Public Types | |
| enum | MessageBoxButtons { Ok , OkCancel , YesNo , YesNoCancel } |
| enum | MessageBoxResult { Ok , Cancel , Yes , No } |
Public Member Functions | |
| override void | Activate () |
| override void | Deactivate () |
| void | Show () |
| void | Show (string title, string message) |
| void | Show (string title, string message, MessageBoxButtons buttons, Action< MessageBoxResult > callback) |
| void | Check (string title, string message, Action ok) |
| void | CheckYes (string title, string message, Action yes) |
| void | SetDialogResult (MessageBoxResult result) |
Public Member Functions inherited from CityBuilderCore.DialogBase | |
| void | Toggle () |
| void | ToggleGlobal () |
| void | ActivateGlobal () |
Static Public Member Functions | |
| static void | TryCheck (MessageBoxDialog messageBox, string title, string message, Action ok) |
| static void | TryCheckYes (MessageBoxDialog messageBox, string title, string message, Action yes) |
Public Attributes | |
| MessageBoxButtons | Buttons |
| TMPro.TMP_Text | Title |
| TMPro.TMP_Text | Message |
| Button | Ok |
| Button | Cancel |
| Button | Yes |
| Button | No |
| UnityEvent< MessageBoxResult > | Clicked |
| UnityEvent | OkClicked |
| UnityEvent | CancelClicked |
| UnityEvent | YesClicked |
| UnityEvent | NoClicked |
Public Attributes inherited from CityBuilderCore.DialogBase | |
| bool | PauseGame |
| ContentSizeFitter | Fitter |
Protected Member Functions | |
| override void | Awake () |
Protected Member Functions inherited from CityBuilderCore.DialogBase | |
| virtual void | Start () |
| virtual void | Update () |
| virtual void | OnDestroy () |
| virtual void | updateContent (bool initiate) |
| virtual void | updateLayout () |
Additional Inherited Members | |
Properties inherited from CityBuilderCore.DialogBase | |
| bool | IsDialogActive [get] |
|
inlinevirtual |
Reimplemented from CityBuilderCore.DialogBase.
|
inlineprotectedvirtual |
Reimplemented from CityBuilderCore.DialogBase.
|
inlinevirtual |
Reimplemented from CityBuilderCore.DialogBase.