On/Off Switch using uiComponent #274
dnaldoog
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
Cool. I'm sure I'll need this before too long. I've just had to do a button group with Image Buttons (selecting 1 button will unselect the the others WITHOUT sending value change - otherwise it get's stuck in the mother of loops) I'll post the code up shortly. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a basic on/off switch using uiComponent and panel:getGlobalVariable() and bit.bxor(n,1) for toggling between 0 and 1.
on off switch_1_2.zip
Beta Was this translation helpful? Give feedback.
All reactions