Esempio n. 1
0
        public virtual void OnGUIFamily(ShaderGUITreeView treeView)
        {
            if (!this.isVisible)
            {
                return;
            }

            using (var dis = new EditorGUI.DisabledGroupScope(this.isDisabled))
            {
                this.OnGUIRow(treeView);

                if (!this.isExpanded || !this.hasChildren)
                {
                    return;
                }
                foreach (var it in this.children)
                {
                    it.OnGUIFamily(treeView);
                }
            }
        }
Esempio n. 2
0
 public virtual void OnGUIRow(ShaderGUITreeView treeView)
 {
 }