Welcome,
Guest
. Please
login
or
register
.
February 14, 2025, 05:33:49 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Remove all event delegates from UIButton? (inside code)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Remove all event delegates from UIButton? (inside code) (Read 2300 times)
hexaust
Newbie
Thank You
-Given: 14
-Receive: 1
Posts: 35
Remove all event delegates from UIButton? (inside code)
«
on:
April 18, 2014, 04:52:42 AM »
How can I remove all event delegates from UIButton in code? Basically I just want to clear all of them.
Logged
ryan
Jr. Member
Thank You
-Given: 0
-Receive: 1
Posts: 90
Re: Remove all event delegates from UIButton? (inside code)
«
Reply #1 on:
April 18, 2014, 12:24:03 PM »
button.onClick.Clear();
onClick is just a List.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Remove all event delegates from UIButton? (inside code)