public AssetListTreeView(TreeViewState state, MultiColumnHeaderState mchs, BundleManagerControl ctrl) : base(state, new MultiColumnHeader(mchs)) { m_Controller = ctrl; showBorder = true; showAlternatingRowBackgrounds = true; DefaultStyles.label.richText = true; multiColumnHeader.sortingChanged += OnSortingChanged; }
private void OnEnable() { var subPos = GetSubWindowArea(); if (m_bundleManager == null) { m_bundleManager = new BundleManagerControl(); } m_bundleManager.OnEnable(subPos, this); if (m_bundleBuild == null) { m_bundleBuild = new BundleBuildControl(); } m_bundleBuild.OnEnable(subPos, this); }
public BundleTreeView(TreeViewState state, BundleManagerControl ctrl) : base(state) { BundleModel.Reload(); m_Controller = ctrl; showBorder = true; }