浏览代码

Removed the label and made the spacing work with indentation

/main
Martin Thorzen 6 年前
当前提交
9a23a53f
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 5
      com.unity.render-pipelines.core/CoreRP/Editor/Shadow/ShadowCascadeSplitGUI.cs

5
com.unity.render-pipelines.core/CoreRP/Editor/Shadow/ShadowCascadeSplitGUI.cs


*/
public static void HandleCascadeSliderGUI(ref float[] normalizedCascadePartitions)
{
//EditorGUILayout.LabelField("Cascade splits");
//EditorGUI.indentLevel++;
GUILayout.Space(32);
GUILayout.Space(EditorGUI.indentLevel * 15f);
// get the inspector width since we need it while drawing the partition rects.
// Only way currently is to reserve the block in the layout using GetRect(), and then immediately drawing the empty box
// to match the call to GetRect.

正在加载...
取消
保存