2D Toolkit Forum

2D Toolkit => Support => Topic started by: nyxo on April 12, 2013, 12:43:41 am

Title: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
Post by: nyxo on April 12, 2013, 12:43:41 am
I just modified the source of my local copy like this to fix the bug:
Code: [Select]
public void Play(tk2dSpriteAnimationClip clip, float clipStartTime)
{
    clipId = GetClipIdByName(clip.name);
    Play(clip, clipStartTime, DefaultFps);
}
Title: Re: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
Post by: unikronsoftware on April 12, 2013, 12:53:25 am
Thanks for reporting this. I will investigate it for 2D Toolkit 2.0.
Title: Re: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
Post by: nyxo on April 12, 2013, 01:00:25 am
No problem, glad to help ^^
Title: Re: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
Post by: jacky on November 19, 2013, 07:08:41 pm
I was just wondering if this is still a known issue. I am having the same problem but it could be a bug in my code. Thanks!
Title: Re: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
Post by: jacky on November 19, 2013, 08:06:53 pm
Nevermind, it was a bug in my code...