//通过选中资源列表更新TreeView
 private void UpdateAssetTree()
 {
     if (needUpdateAssetTree && selectedAssets.Count != 0)
     {
         var root = SelectedAssetToRootItem(selectedAssets);
         if (m_AssetTreeView == null)
         {
             //初始化TreeView
             if (m_TreeViewState == null)
             {
                 m_TreeViewState = new TreeViewState();
             }
             var headerState       = AssetTreeView.CreateDefaultMultiColumnHeaderState(position.width);
             var multiColumnHeader = new MultiColumnHeader(headerState);
             m_AssetTreeView = new AssetTreeView(m_TreeViewState, multiColumnHeader);
         }
         m_AssetTreeView.assetRoot = root;
         m_AssetTreeView.CollapseAll();
         m_AssetTreeView.Reload();
         needUpdateAssetTree = false;
     }
 }
 //通过选中资源列表更新TreeView
 private void UpdateAssetTree()
 {
     if (_needUpdateAssetTree && _selectedAssetGuid.Count != 0)
     {
         var root = SelectedAssetGuidToRootItem(_selectedAssetGuid);
         if (_assetTreeView == null)
         {
             //初始化TreeView
             if (_treeViewState == null)
             {
                 _treeViewState = new TreeViewState();
             }
             var headerState       = AssetTreeView.CreateDefaultMultiColumnHeaderState(position.width);
             var multiColumnHeader = new MultiColumnHeader(headerState);
             _assetTreeView = new AssetTreeView(_treeViewState, multiColumnHeader);
         }
         _assetTreeView.assetRoot = root;
         _assetTreeView.CollapseAll();
         _assetTreeView.Reload();
         _assetTreeView.ExpandAll();
         _needUpdateAssetTree = false;
     }
 }