示例#1
0
        protected virtual void TableListViewOnSelectedForEditing(ISelectable selected)
        {
            m_PropertiesPanel.Clear();

            if (selected != null)
            {
                m_PropertiesPanel.style.display = DisplayStyle.Flex;
                var editor = selected.CreateEditor();
                m_PropertiesPanel.Add(editor);
                editor.StretchToParentSize();
            }
            else
            {
                m_PropertiesPanel.style.display = DisplayStyle.None;
            }
        }