private void DrawBakeMode()
{
if (!showBakeMode)
{
return;
}
if (GUILayout.Button(GetBakeModeIcon(m_autoLightBakingOn), Styles.statusIcon))
{
Event.current.Use();
LightingWindow.CreateLightingWindow();
}
var buttonRect = GUILayoutUtility.GetLastRect();
EditorGUIUtility.AddCursorRect(buttonRect, MouseCursor.Link);
}