About 16,900 results
Open links in new tab
  1. How do I toggle a checkbox in Unity with code? - Stack Overflow

    Nov 27, 2015 · How do I toggle a checkbox in Unity with code? Asked 10 years ago Modified 4 years, 3 months ago Viewed 21k times

  2. Unity: How to change toggle in toggle group programmatically?

    Feb 9, 2020 · I have, in my game, a toggle group to change difficulties and inside a script I want to change the active toggle. For example, by default, the game is set to normal, in my script I …

  3. c# - How to check if a toggle has been toggled and then activate …

    Dec 9, 2019 · 1 We are working on a school project with Unity, a new environment for us as well as C# which is a new language for us. We are having problems with writing scripts for toggle …

  4. c# - Unity Check if Toggle isOn - Stack Overflow

    Aug 3, 2019 · I am checking to see if a toggle is on. Normally I use public Toggle myToggle in the inspector but this this I am attaching the script to the Toggle and probably wrongly using …

  5. How to add to UnityEvents of a Toggle in C# , Unity

    I am creating toggle buttons programmatic in Unity at run time, and I would like to add an event to happen to these toggles. I want to add to the Unity Event that is triggered when the toggle is

  6. How to use Unity Toggle Check Function (checked and unchecked)

    Jul 26, 2015 · How to use Unity Toggle Check Function (checked and unchecked) Asked 10 years, 4 months ago Modified 8 years ago Viewed 24k times

  7. How a Unity gameobject script check the value of toggle?

    Jul 30, 2022 · A screenshot that shows the "UI panel" in the context of the Unity window would maybe make it clearer what is meant here, also the code for "we know how to use the toggle …

  8. unity game engine - What does the toggle tool handle position do ...

    Aug 23, 2022 · When I was looking at Unity Editor's Interface, I suddenly found a small icon. Then I hovered on it, and the text of toggle tool handle position appeared. I googled it and found the …

  9. How to make one toggle turn off when the other turns on in unity

    Jan 13, 2021 · As far as I understand you want to have two UI Toggles which acts as a group, when one of them is on, the rest of the items are off. In order to do this you can use Toggle …

  10. c# - Unity Create UI control from script - Stack Overflow

    Dec 17, 2016 · You are supposed to make the Toggle the child of the Canvas. You didn't do that in your code. Also, you move a UI component and GameObject with …