Beispiel #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();
            }
        }
Beispiel #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();
     }
 }
Beispiel #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);
                }
            }
        }
Beispiel #4
0
 public override void OnGUIRow(ShaderGUITreeView treeView)
 {
     this.isExpanded = NowhereEditorGUILayout.HorizontalSplitter(this.isExpanded, this.labelContent);
 }