Exemple #1
0
        private void OnEnable()
        {
            if (m_GeneratorsTab == null)
            {
                m_GeneratorsTab = new ConfigTab();
            }
            if (m_PropertyTab == null)
            {
                m_PropertyTab = new PropertyTab();
            }
            Rect subWinRect = GetSubWindowArea();

            m_GeneratorsTab.OnEnable(subWinRect, this);
            m_PropertyTab.OnEnable(subWinRect, this);
        }
Exemple #2
0
 internal PropertyInspector(PropertyTab propertyTab)
 {
     m_PropertyTab = propertyTab;
 }
 internal PropertyTree(TreeViewState s, PropertyTab parent) : base(s)
 {
     m_PropertyTab = parent;
     showBorder    = true;
 }