private void SetActiveTarget(LayerData target) { if (target == null || target.transform == null) { m_flashMask.Hide(); return; } if (target.isExpanded) { m_flashMask.Show(target.transform as RectTransform); } else { m_flashMask.Hide(); } }
public LayerTree() { var rootData = new LayerData("【运行时层级结构】", null, true); this.root = new TreeNode <LayerData>(rootData); }