Exemplo n.º 1
0
        private void LoadGUI()
        {
            inspector      = new Inspector();
            hierarchy      = new Hierarchy();
            _controller    = new ImGuiController(ClientSize.X, ClientSize.Y);
            GameViewWindow = new GameViewWindow(this);
            frameBuffer    = new FrameBuffer(1440, 900);

            inspector.currentObject = firstObject;

            ImGuiController.DarkTheme();

            /*
             * Debug.Log("hour: " + DateTime.Now.Hour);
             * if (DateTime.Now.Hour > 16 || DateTime.Now.Hour < 5) ImGuiController.DarkTheme();
             * else ImGui.StyleColorsLight();
             */
        }