Welcome,
Guest
. Please
login
or
register
.
March 14, 2026, 04:34:35 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Notifications with arguments in Il2CPP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Notifications with arguments in Il2CPP (Read 4029 times)
greyhoundgames
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 39
Notifications with arguments in Il2CPP
«
on:
April 22, 2015, 04:47:22 PM »
I have lots of notifications in my NGUI usage like button clicks etc.
I noticed on IL2CPP a UIProgressBar notifiation which gives the value as an argument is throwing a no AOT compiled error.
Has anyone used arguments in notification sucesfully? Changing it to be a plain notification removed the problem.
Thanks!
«
Last Edit: April 22, 2015, 05:08:23 PM by greyhoundgames
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Notifications with arguments in Il2CPP
«
Reply #1 on:
April 24, 2015, 07:36:42 AM »
What notification are you referring to? Progress bar has onDragFinished, which is just a C# delegate with no parameters, and onChange which is an NGUI delegate with arbitrary number of parameters (none by default).
Logged
greyhoundgames
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 39
Re: Notifications with arguments in Il2CPP
«
Reply #2 on:
April 29, 2015, 02:36:10 PM »
It was the on drag notification which i was passing the value of the bar. I just removed that and fetched the value myself and it was fine after that.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Notifications with arguments in Il2CPP