Welcome,
Guest
. Please
login
or
register
.
April 29, 2026, 05:43:31 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to subscribe method to UIButton notify?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to subscribe method to UIButton notify? (Read 2575 times)
genesys
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
How to subscribe method to UIButton notify?
«
on:
March 18, 2014, 07:52:55 PM »
How can I subscribe a callback method to the notification event of a UIButton, but not through the Editor but via scripting?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to subscribe method to UIButton notify?
«
Reply #1 on:
March 18, 2014, 09:23:42 PM »
EventDelegate.Add(button.onClick, MyFunction);
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to subscribe method to UIButton notify?