/// <summary> /// Plays the specified SuperSprite animation. /// </summary> /// <param name="anim">The SuperSprite animation to be played.</param> public void PlayAnim(SuperSpriteAnim anim) { if (!m_started) { Start(); } if (curAnim != null) { curAnim.Hide(true); } curAnim = anim; curAnim.Reset(); animating = true; anim.Play(); }