public void AddAnimation(string newAnimation, TimelineAsset o) { UIAnimationDescription item = default(UIAnimationDescription); item.Name = newAnimation; item.animation = o; m_animations.Add(item); }
public void SetAnimation(int i, UIAnimationDescription animations) { m_animations[i] = animations; }