-
Notifications
You must be signed in to change notification settings - Fork 198
Checkbox
The Checkbox is a control that can be toggled to change a variable or call a function. The 'Toggle' (default name) object contains the RippleConfig component, automatically giving the Checkbox dynamic ripple effects. The Toggle component works just the same as in Unity's stock UI.
Animation Duration - The duration of the toggle animation.
Frame Image - The Linked Image of the Frame. This does not usually need to be changed.
Box Image - The Linked Image of the Box. This does not usually need to be changed.
Circle Image - The Linked Image of the Circle. This does not usually need to be changed.
Check Image - The Linked Image of the Check. This does not usually need to be changed.
Resizing the Checkbox:
If you want to resize the checkbox, simply edit the RectTransform's width and height values of the 'Toggle' (default name) control. You can also use the drag handles in the Scene View. Then, the Checkbox Text font size can be changed separately.