public void InsertChild(int index, MotionItemBase child) { childList.Insert(index, child); child.Parent = this; ChildInserted?.Invoke(index, child); }
public void RemoveChild(MotionItemBase child) { childList.Remove(child); child.Parent = null; ChildRemoved?.Invoke(child); }
public void AddChild(MotionItemBase child) { InsertChild(childList.Count, child); }