private void ReGetLists() { //强刷避免增加item 数组越界 缺点修改的内容必须保存不然会重置 没办法TT if (!m_target) { return; } itemList.Clear(); GetRegistViewItems(m_target.transform, ref itemList); _root = m_target.name; Editor_UITool.CloneValues(itemList, ref tpNameList, ref tpIsBindList, ref tpBindNameList); }
private void CheckTarget() { if (m_target == null) { targetName = ""; return; } if (targetName == m_target.name) { return; } targetName = m_target.name; itemList.Clear(); GetRegistViewItems(m_target.transform, ref itemList); Editor_UITool.CloneValues(itemList, ref tpNameList, ref tpIsBindList, ref tpBindNameList); }