private void ShowClampedSizeInLightmapGUI(float lightmapScale, float cachedSurfaceArea)
{
float num = (Mathf.Sqrt(cachedSurfaceArea) * LightmapEditorSettings.bakeResolution) * lightmapScale;
float num2 = Math.Min(LightmapEditorSettings.maxAtlasWidth, LightmapEditorSettings.maxAtlasHeight);
this.m_ShowClampedSize.target = num > num2;
if (EditorGUILayout.BeginFadeGroup(this.m_ShowClampedSize.faded))
{
GUILayout.Label(s_Styles.ClampedSize, EditorStyles.helpBox, new GUILayoutOption[0]);
}
EditorGUILayout.EndFadeGroup();
}