Welcome,
Guest
. Please
login
or
register
.
September 22, 2025, 12:21:48 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Using EventDelegate in my custom script with method parameter support.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Using EventDelegate in my custom script with method parameter support. (Read 1842 times)
mcprogramr
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 2
Using EventDelegate in my custom script with method parameter support.
«
on:
August 20, 2014, 08:56:14 AM »
I applied List<EventDelegate> to my custom script. I have experimented awhile ago with it, and has it working except when my method have parameter, the 'arg' field is disabled.
Why is it disabled?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Using EventDelegate in my custom script with method parameter support.
«
Reply #1 on:
August 20, 2014, 05:38:13 PM »
Did you create an editor class to it? What did you use to draw the List<EventDelegate>? It should be NGUIEditorTools.DrawEvents.
Logged
mcprogramr
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 2
Re: Using EventDelegate in my custom script with method parameter support.
«
Reply #2 on:
August 21, 2014, 07:08:41 AM »
I tried to create an Editor for it then update with DrawEvents and it worked. Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Using EventDelegate in my custom script with method parameter support.