浏览代码

Commented out things that aren't hooked up yet (XRSettings,

ViewportScale)
/main
Nerites 6 年前
当前提交
38e2de4a
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 6
      com.unity.render-pipelines.lightweight/LWRP/Editor/LightweightPipelineAssetEditor.cs

6
com.unity.render-pipelines.lightweight/LWRP/Editor/LightweightPipelineAssetEditor.cs


DrawCapabilitiesSettings();
DrawGeneralSettings();
DrawXRSettings();
// Readd when XRSettings is hooked up
// DrawXRSettings();
serializedObject.ApplyModifiedProperties();
}

EditorGUILayout.LabelField(Styles.generalSettingsLabel, EditorStyles.boldLabel);
EditorGUI.indentLevel++;
m_TargetScale.floatValue = EditorGUILayout.Slider(Styles.TargetScaleLabel, m_TargetScale.floatValue, k_MinTargetScale, k_MaxTargetScale);
m_ViewportScale.floatValue = EditorGUILayout.Slider(Styles.ViewportScaleLabel, m_ViewportScale.floatValue, k_MinViewportScale, k_MaxViewportScale);
// Re-add once viewport scale is hooked up
//m_ViewportScale.floatValue = EditorGUILayout.Slider(Styles.ViewportScaleLabel, m_ViewportScale.floatValue, k_MinViewportScale, k_MaxViewportScale);
m_MaxPixelLights.intValue = EditorGUILayout.IntSlider(Styles.maxPixelLightsLabel, m_MaxPixelLights.intValue, 0, k_MaxSupportedPixelLights);
EditorGUILayout.Space();

正在加载...
取消
保存