Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug ToggleGroup SetAllTogglesOff

Discussion in 'UGUI & TextMesh Pro' started by FromTheFuture, Jul 21, 2022.

  1. FromTheFuture

    FromTheFuture

    Joined:
    Jul 25, 2012
    Posts:
    46
    Hi all,

    The documentation for ToggleGroup SetAllTogglesOff says:
    This method can be used to switch all toggles off, regardless of whether the allowSwitchOff property is enabled or not.
    That is not what I'm experiencing. Calling SetAllTogglesOff seems to be ignored UNLESS I first set allowSwitchOff to true. I also can't set allowSwitchOff back to false after, it will immediately enforce that one in the group is checked.

    Am I missing something?

    Thanks!
     
    spencergablecook likes this.