Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: pedroathumanspot on January 18, 2013, 06:33:04 AM
-
Hi there!
I need to check if a particular animation is playing while on a particular state.
What's the best way to do this? Is there some way/action that mimics the IsPlaying function of the Animation component (http://docs.unity3d.com/Documentation/ScriptReference/Animation.IsPlaying.html)?
Cheers, and thanks in advance.
-
I ended up coding an custom IsAnimationPlaying to do this. I'll post a link for it here asap.
Cheers.
-
I coded this particular action and made it available under a GitHub repository I set up to share custom Playmaker actions at https://github.com/pedrosanta/PlaymakerActions (https://github.com/pedrosanta/PlaymakerActions).
Feel free to fork it away and collaborate. :)
-
Hi,
Nice one, that's the spirit!
bye,
Jean