private void RealtimeGUI(SerializedObject so, SerializedProperty enableRealtimeGI)
{
this.m_ShowRealtimeSettings = EditorGUILayout.ToggleTitlebar(this.m_ShowRealtimeSettings, styles.RealtimeGILabel, enableRealtimeGI);
if (this.m_ShowRealtimeSettings)
{
SerializedProperty property = so.FindProperty("m_RuntimeCPUUsage");
SerializedProperty resolution = so.FindProperty("m_LightmapEditorSettings.m_Resolution");
EditorGUI.indentLevel++;
using (new EditorGUI.DisabledScope(!enableRealtimeGI.boolValue))
{
DrawLightmapResolutionField(resolution, styles.Resolution);
EditorGUILayout.IntPopup(property, styles.RuntimeCPUUsageStrings, styles.RuntimeCPUUsageValues, styles.RuntimeCPUUsage, new GUILayoutOption[0]);
}
EditorGUI.indentLevel--;
}
}