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