Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: tonyM on December 04, 2014, 03:28:28 AM

Title: Reset Toggle group values
Post by: tonyM on December 04, 2014, 03:28:28 AM
Hi Aren,

I have a group of toggle values where only 1 of which can be selected at a given time.  This works fine.  However I need to add a feature where if this happens I want to reset all selections and have none of the toggle buttons selected. 

Is there anyway I can do this?

Thanks.
Title: Re: Reset Toggle group values
Post by: ArenMook on December 04, 2014, 04:27:51 AM
Wrong forum. Moved to NGUI support.
Title: Re: Reset Toggle group values
Post by: ArenMook on December 04, 2014, 04:29:35 AM
"Option can be none" is an option on toggles.
Title: Re: Reset Toggle group values
Post by: tonyM on December 05, 2014, 03:29:14 AM
OK so I've set the option 'State of None' to true on my Toggle group.  How do I set these to be none now?

Thanks.
Title: Re: Reset Toggle group values
Post by: ArenMook on December 05, 2014, 03:04:22 PM
Just run through your toggles and set their value to 'false'.