コード例 #1
0
 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;
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public BundleTreeView(TreeViewState state, BundleManagerControl ctrl) : base(state)
 {
     BundleModel.Reload();
     m_Controller = ctrl;
     showBorder   = true;
 }