Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: omira on January 07, 2014, 04:38:55 PM

Title: ActiveAnimation.Play and OnFinished
Post by: omira 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?
Title: Re: ActiveAnimation.Play and OnFinished
Post by: ArenMook 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.
Title: Re: ActiveAnimation.Play and OnFinished
Post by: omira on January 08, 2014, 01:39:46 PM
thanks, (so easy solution :/ ) as usually, awesome support from you :D