Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Drk Knght on June 19, 2017, 07:42:45 AM

Title: How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick?
Post by: Drk Knght on June 19, 2017, 07:42:45 AM
Hello,
Unity UI gives option to set active true/false objects from inspector using its default OnClick as shown in the following screenshot.
https://prnt.sc/fljxwk (https://prnt.sc/fljxwk)
What is NGUI's equivalent to this?
Regards,
DK
Title: Re: How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick?
Post by: ArenMook on June 27, 2017, 11:42:20 AM
You can't pass fixed values to the event delegate used by NGUI. It's more simplistic -- it's basically ideal for calling simple functions such as PlayForward() or PlayReverse().