public bool AddAnimationThatDoesNotLoop(string animationName) { if (string.IsNullOrEmpty(animationName) || AnimationNamesThatDoNotLoop.Contains(animationName)) { return(false); } AnimationNamesThatDoNotLoop.Add(animationName); return(true); }
public void RemoveAnimationThatDoesNotLoop(int index) { AnimationNamesThatDoNotLoop.RemoveAt(index); }