Exemple #1
0
        public override void OnGUIRow(ShaderGUITreeView treeView)
        {
            if (this.isExpanded = NowhereEditorGUILayout.HorizontalSplitter(this.isExpanded, this.labelContent))
            {
                var editor = treeView.materialEditor;

                editor.EnableInstancingField();
                editor.RenderQueueField();
                editor.DoubleSidedGIField();
            }
        }
Exemple #2
0
 public override void OnGUIRow(ShaderGUITreeView treeView)
 {
     if (this.foldout = NowhereEditorGUILayout.HorizontalSplitter(this.foldout, this.labelContent))
     {
         foreach (var it in treeView.miscProperties)
         {
             treeView.materialEditor.ShaderProperty(it, it.displayName);
         }
         EditorGUILayout.Space();
     }
 }
Exemple #3
0
        public override void OnGUIFamily(ShaderGUITreeView treeView)
        {
            if (!this.isVisible)
            {
                return;
            }

            if (this.isExpanded = NowhereEditorGUILayout.HorizontalSplitter(this.isExpanded, new GUIContent("Tree Debug")))
            {
                using (var vt = new GUILayout.VerticalScope(GUI.skin.box))
                {
                    DrawChildren(treeView.rootItem);
                }
            }
        }
Exemple #4
0
 public override void OnGUIRow(ShaderGUITreeView treeView)
 {
     this.isExpanded = NowhereEditorGUILayout.HorizontalSplitter(this.isExpanded, this.labelContent);
 }