Example #1
0
 public virtual void Add(MyIComponent theComponent)
 {
     Debug.LogError("子类没有实现Add功能");
 }
Example #2
0
 public override void Add(MyIComponent theComponent)
 {
     m_Childs.Add(theComponent);
 }
Example #3
0
 public override void Remove(MyIComponent theComponent)
 {
     m_Childs.Remove(theComponent);
 }
Example #4
0
 public virtual void Remove(MyIComponent theComponent)
 {
     Debug.LogError("子类没有实现Remove功能");
 }