UnityEditor.LightingWindow.CreateLightingWindow C# (CSharp) Method

CreateLightingWindow() private method

private CreateLightingWindow ( ) : void
return void
        private static void CreateLightingWindow()
        {
            LightingWindow window = EditorWindow.GetWindow<LightingWindow>();
            window.minSize = new Vector2(300f, 360f);
            window.Show();
        }

Usage Example

示例#1
0
        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);
        }
All Usage Examples Of UnityEditor.LightingWindow::CreateLightingWindow