Esempio n. 1
0
        void InitializeAssetList()
        {
            onProjectChange += RefreshList;

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