void RemoveChildrenComponents() { Component = null; foreach (var v in Tree) { v.RemoveChildrenComponents(); } }
/// <summary> /// 为当前节点设置一个Component对象 /// </summary> /// <param name="_component"></param> public void SetComponent(EGUIComponent _component) { Component = _component; }