We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e659d90 commit bbed25dCopy full SHA for bbed25d
1 file changed
README.md
@@ -5,8 +5,7 @@ A very simple ui system for basic dialogs in Onset
5
```lua
6
local Dialog = ImportPackage("dialogui")
7
8
-local test = Dialog.create("New Character", "Choose your character information")
9
-Dialog.setButtons(test, "Create", "Cancel")
+local test = Dialog.create("New Character", "Choose your character information", "Create", "Cancel")
10
Dialog.addTextInput(test, 1, "First Name")
11
Dialog.addTextInput(test, 1, "Last Name")
12
Dialog.addSelect(test, 1, "Gender", 1, "Male", "Female", "Apache Helicopter")
0 commit comments