Example #1
0
        void InitializeAssetList()
        {
            onProjectChange += RefreshList;

            createAssetIcon = new GUIContent(EditorGUIUtility.FindTexture("CreateAddNew"), "创建Asset");
            searchField     = new SearchField();
            searchField.autoSetFocusOnFindCommand = true;
            projecListTreeView = BuildAssetsListTreeView();
            projecListTreeView.Reload();
        }
Example #2
0
 public void RefreshList()
 {
     projecListTreeView.Clear();
     projecListTreeView = BuildAssetsListTreeView();
     projecListTreeView.Reload();
 }