private void ReadComponent(DMCompent component) { Debug.Log(component.Name); var childList = component.ChildList; if (childList == null || childList.Count == 0) { return; } foreach (var item in childList) { ReadComponent(item); } }
public override void AddChild(DMCompent _compent) { ChildList.Add(_compent); }
public override void RemoveChild(DMCompent _compent) { return; }
public override void AddChild(DMCompent _compent) { return; }
public abstract void RemoveChild(DMCompent _compent);
public abstract void AddChild(DMCompent _compent);
public override void RemoveChild(DMCompent _compent) { ChildList.Remove(_compent); }