Hello Guest

Author Topic: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)  (Read 4201 times)

nyxo

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
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);
}

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Thanks for reporting this. I will investigate it for 2D Toolkit 2.0.

nyxo

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
No problem, glad to help ^^

jacky

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
« Reply #3 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!

jacky

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Bug: AnimationCompleteDelegate not called after Play(clip, clipStartTime)
« Reply #4 on: November 19, 2013, 08:06:53 pm »
Nevermind, it was a bug in my code...