Exemplo n.º 1
0
        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();
            }
        }
Exemplo n.º 2
0
        public LayerTree()
        {
            var rootData = new LayerData("【运行时层级结构】", null, true);

            this.root = new TreeNode <LayerData>(rootData);
        }