public override void OnInit()
        {
            base.OnInit();

            styles    = new Styles();
            rulManger = AssetBuildRuleManager.Instance;

            iconReflush = EditorGUIUtility.FindTexture("TreeEditor.Refresh");

            this.initTreeView();
        }
        public AssetTreeModel(IList <AssetElement> data) : base(data)
        {
            rulManger = AssetBuildRuleManager.Instance;

            this.Init();
        }
示例#3
0
 public void OnDestroy()
 {
     instance       = null;
     this.rootRules = null;
 }