public virtual void Add(MyIComponent theComponent) { Debug.LogError("子类没有实现Add功能"); }
public override void Add(MyIComponent theComponent) { m_Childs.Add(theComponent); }
public override void Remove(MyIComponent theComponent) { m_Childs.Remove(theComponent); }
public virtual void Remove(MyIComponent theComponent) { Debug.LogError("子类没有实现Remove功能"); }