public void StopAnimation(Animation_Type type) { string name = GetAnimationNameByType(type); if (string.IsNullOrEmpty(name)) { return; } GfxSystem.StopAnimation(m_Actor, name); }