You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeoPlayerRu edited this page Jun 20, 2021
·
4 revisions
Dialogbox has two public functions and some variables.
Variables
Output
To help you with output, DialogController allows you to get field content. FieldString is field's string content. FieldColor is field's color content. FieldKey is field's single key content.
Misc
StartColor is standard color of Dialog if type is color. main is main dialogbox. IsAnyOpen
Enum
DialogController has enum named DialogType, that contains types of dialog. Here's list of them:
Empty
Text
Number
Color
Key Trigger
Functions
Next function is main function of using dialogbox.
Using of dialogcontroller is pretty simple, it has this structure:
DialogController.main.Show("Name of dialog",newDialogButton[]{newDialogButton("Text"()=>{// Actions });// Other buttons},DialogController.DialogType.TypeYouNeed);