Exemple #1
0
        private void Awake()
        {
            treeViewState = new TreeViewState();
            splitLine     = new EditorSplitLine();
            lineX         = 150;

            providerData           = new ToolProviderData();
            providerData.Providers = FetchToolProviderFromAttribute().ToArray();
        }
Exemple #2
0
 private void OnDestroy()
 {
     if (providerData.Providers != null)
     {
         foreach (var provider in providerData.Providers)
         {
             provider.OnDestroy();
         }
         providerData.Providers = null;
     }
     providerData = null;
 }
Exemple #3
0
 public ToolTreeView(TreeViewState state, ToolProviderData providerData) : base(state)
 {
     this.providerData = providerData;
     Reload();
 }