Welcome,
Guest
. Please
login
or
register
.
December 06, 2024, 03:05:50 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
ActiveAnimation.Play and OnFinished
« previous
next »
Print
Pages: [
1
]
Author
Topic: ActiveAnimation.Play and OnFinished (Read 2864 times)
omira
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
ActiveAnimation.Play and OnFinished
«
on:
January 07, 2014, 04:38:55 PM »
If i play an animation with ActiveAnimation.Play, (i use it for menu) OnFinished didn't execute my function in the notify field.
what do i miss?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: ActiveAnimation.Play and OnFinished
«
Reply #1 on:
January 08, 2014, 01:07:36 PM »
ActiveAnimation.Play() clears the OnFinished notifications inside (line 227 of ActiveAnimation.cs). You have to set the OnFinished delegates after calling the Play function.
Logged
omira
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Re: ActiveAnimation.Play and OnFinished
«
Reply #2 on:
January 08, 2014, 01:39:46 PM »
thanks, (so easy solution :/ ) as usually, awesome support from you
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
ActiveAnimation.Play and OnFinished