Constructor
new UICheckbox(posopt, sizeopt, checkedopt, textopt, coloropt)
Create a UICheckbox object
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
pos | Vector2 | <optional> | ||
size | Vector2 | <optional> | ||
checked | boolean | <optional> | false | |
text | string | <optional> | ||
color | Color | <optional> | uiSystem.defaultButtonColor |
- Source
Extends
- UIObject
Members
checked
Properties| Type | Description |
|---|---|
| boolean | Current percentage value of this scrollbar 0-1 |
- Source