private static bool AnyContainsInTweenList(TweenAnimation target)
 {
     for (int i = 0; i < m_TweenList.Count; i++)
     {
         if (m_TweenList[i].m_Animations != null && m_TweenList[i].m_Animations.Contains(target))
         {
             return(true);
         }
     }
     return(false);
 }
 public void UndoRemoveAnimation(TweenAnimation anim)
 {
     Undo.RecordObject(this, "RemoveAnimation");
     m_Animations.Remove(anim);
     Undo.DestroyObjectImmediate(anim);
 }