Skip to content

Commit

Permalink
tweak separator.
Browse files Browse the repository at this point in the history
  • Loading branch information
hecomi committed Dec 29, 2017
1 parent e3d1a6a commit 75f33a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Assets/uShaderTemplate/Editor/Scripts/GeneratorEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@ public override void OnInspectorGUI()
DrawBlocks();
DrawConstants();
DrawMaterialReferences();

EditorGUILayout.Separator();

DrawButtons();
DrawMessages();

EditorGUILayout.Separator();

serializedObject.ApplyModifiedProperties();
}

Expand Down
3 changes: 1 addition & 2 deletions Assets/uShaderTemplate/Editor/Scripts/MaterialEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ override public void OnGUI(

if (cachedEditor_) {
cachedEditor_.OnInspectorGUI();
EditorGUILayout.Space();
EditorGUILayout.Separator();
}

folded_ = Utils.Foldout("Material Properties", folded_);
Expand All @@ -40,7 +40,6 @@ override public void OnGUI(
base.OnGUI(materialEditor, properties);
--EditorGUI.indentLevel;
}

}
}

Expand Down

0 comments on commit 75f33a0

Please sign in to comment.