new UICheckbox(pos, size, checked, text, color)uiSystem.js:1612Create a UICheckbox object
UICheckbox - A UI object that acts as a checkbox
Extends UIObject
new UICheckbox(pos, size, checked, text, color)uiSystem.js:1612Create a UICheckbox object
checked : booleanuiSystem.js:1629Is the checkbox currently checked?
text : stringuiSystem.js:1632The label shown beside the box
click(playSound)uiSystem.js:1638Toggle the checkbox, called when it is clicked
playSound boolean optional, default true