- Home /
GUI 4.6 Toggle Question.
I am using several UI toggles as on/off switches for items carried and their selection. 2 of the items can't be carried together, so I set it up in c# that if I select one of the items, it kicks the opposing item out, replacing the old item. But the toggles themselves wont reflect the change, the toggle for the kicked item will still show as "on", and such, if you get what I mean.
Is it possible to have the toggle switch reflect the state of the item it is affecting?
We can't really help diagnose possible code issues unless you paste your code.
Your answer
![](https://koobas.hobune.stream/wayback/20220612051333im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity 4.6 GUI weird toggle+button interaction? 2 Answers
GUI window popup button 1 Answer
Little help with GUI Toggle needed 1 Answer
EditorGUI elements require minimum size of 24px? 0 Answers
GuiTexture toggle on keypress. 2 Answers