示例#1
0
        public ResAssetsTreeEitor(TreeViewState state, MultiColumnHeaderState mchs, AssetGroupMgr ctrl)
            : base(state, new MultiColumnHeader(mchs))
        {
            mController = ctrl;
            showBorder  = true;
            showAlternatingRowBackgrounds = true;

            Reload();
        }
        public ResGroupTreeEditor(TreeViewState state, AssetGroupMgr ctrl, MultiColumnHeaderState mchs) : base(state,
                                                                                                               new MultiColumnHeader(mchs))
        {
            showBorder = true;

            showAlternatingRowBackgrounds = false;
            //DefaultStyles.label.richText = true;
            AssetMode.Rebuild();
            mController = ctrl;
            Refresh();
            Reload();
        }
        protected void OnEnable()
        {
            Rect subPos = GetSubWindowArea();

            if (m_ManageTab == null)
            {
                m_ManageTab = new AssetGroupMgr();
            }
            if (mAssetBundleEditor == null)
            {
                mAssetBundleEditor = new AssetBundleEditor();
            }

            m_ManageTab.OnEnable(subPos, this);
            mAssetBundleEditor.OnEnable(subPos, this);
        }
示例#4
0
 public AssetInfoEditor(AssetGroupMgr ctrl)
 {
     mController = ctrl;
 }