Exemple #1
0
 public override void OnEnable()
 {
     base.OnEnable();
     titleContent = new GUIContent("Collection Manager", EditorGUIUtility.IconContent("FolderOpened Icon").image);
     InitGUI();
     _availableItems.Reload();
     _collectionItems.Reload();
 }
Exemple #2
0
        protected override void OnEnable()
        {
            titleContent = new GUIContent("Collection Manager", EditorGUIUtility.IconContent("FolderOpened Icon").image);
            base.OnEnable();
            InitGUI();
            _availableItems.Reload();
            _collectionItems.Reload();

            ItemInspector.ItemRenamed += OnItemRenamed;
        }