/// <summary> /// Pauses the currently playing animation. /// </summary> public void PauseAnim() { if (curAnim != null) { curAnim.Pause(); } animating = false; }