Welcome,
Guest
. Please
login
or
register
.
April 23, 2026, 01:20:41 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick? (Read 3172 times)
Drk Knght
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick?
«
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
What is NGUI's equivalent to this?
Regards,
DK
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick?
«
Reply #1 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().
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How To SetActive True/False A NGUI's UI Object From Inspector Using OnClick?