Tasharen Entertainment Forum

Support => Misc Archive => Topic started by: harrisonpink on August 04, 2014, 02:28:03 PM

Title: hide / show checkboxes in script
Post by: harrisonpink on August 04, 2014, 02:28:03 PM
Hi there all,

What's the best way to hide / show a checkbox element through c#? A gameobject enable disable doesn't quite work since when the object is re-enabled, even if "Start checked" is selected, the checkbox doesn't start with the check mark sprite active.
Title: Re: hide / show checkboxes in script
Post by: ArenMook on August 05, 2014, 12:24:22 PM
There is no such thing as a checkbox class or "start checked" in NGUI 3, so I'm assuming you are still on NGUI 2, which doesn't come with support. Is this correct?