示例#1
0
        public void InsertChild(int index, MotionItemBase child)
        {
            childList.Insert(index, child);
            child.Parent = this;

            ChildInserted?.Invoke(index, child);
        }
示例#2
0
        public void RemoveChild(MotionItemBase child)
        {
            childList.Remove(child);
            child.Parent = null;

            ChildRemoved?.Invoke(child);
        }
示例#3
0
 public void AddChild(MotionItemBase child)
 {
     InsertChild(childList.Count, child);
 }