Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: wijesijp on June 03, 2013, 03:44:31 AM

Title: How to play a custom animation?
Post by: wijesijp on June 03, 2013, 03:44:31 AM
I am using NGUI to display a menu in my game. I am also showing players achievements as stars. I want to add some custom animation to stars. The problem I am having is I set,
 
  1. Time.timeScale = 0;

before displaying the menu. Now I can’t get anything to play !!!

I noticed that NGUI tween animations are playing. Is there a way I can use that to play a custom animation?
Title: Re: How to play a custom animation?
Post by: ArenMook on June 03, 2013, 09:29:44 AM
Use ActiveAnimation.Play(anim) instead of anim.Play().