private void BuildInspectors(Context context) { foreach (var inspectorItem in context.proxy.inspectorItems) { var name = inspectorItem.name; var param = inspectorItem.parameter; Inspector.Bind(name, param, this); } }
public Node(T data) : this() { this.data = data; #region 数据内容 m_ContentUI = new Inspector(); m_ContentUI.AddToClassList("content"); m_ContentUI.Bind(data); #endregion Add(m_ContentUI); }