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