예제 #1
0
        public bool Remove(IMotionTransfer item)
        {
            var removed = _items.Remove(item);

            if (removed)
            {
                item.SetParent(null);
            }
            return(removed);
        }
예제 #2
0
 public void Add(IMotionTransfer item)
 {
     _items.Add(item);
     item.SetParent(this);
 }