示例#1
0
文件: Program.cs 项目: Cryru/Emotion
        public void Load()
        {
            _ui = new UIController();
            var testBackground = new UISolidColor
            {
                InputTransparent = false,
                WindowColor      = Color.CornflowerBlue
            };

            _ui.AddChild(testBackground);
            ToolsManager.AddToolBoxWindow(_ui);
        }
示例#2
0
文件: Program.cs 项目: Cryru/Emotion
        private static void Main()
        {
            var config = new Configurator
            {
                DebugMode = true,
                HostSize  = new Vector2(1280, 720)
            };

            ToolsManager.ConfigureForTools(config);

            Engine.Setup(config);
            Engine.SceneManager.SetScene(new Program());
            Engine.Run();
        }