/// <summary> /// 立即完成一个动画 /// </summary> /// <param name="animGameObject">要完成的</param> public static void FinishAnim(AnimData animData) { animData.m_currentTime = animData.m_totalTime; animData.executeUpdate(); animData.ExecuteCallBack(); GetInstance().animList.Remove(animData); }