internal MacOSGameHost(string gameName, bool bindIPC = false) : base(gameName, bindIPC) { Window = new MacOSGameWindow(); Window.WindowStateChanged += (sender, e) => { if (Window.WindowState != OpenTK.WindowState.Minimized) { OnActivated(); } else { OnDeactivated(); } }; }
internal MacOSGameHost(string gameName, bool bindIPC = false, ToolkitOptions toolkitOptions = default) : base(gameName, bindIPC, toolkitOptions) { Window = new MacOSGameWindow(); Window.WindowStateChanged += (sender, e) => { if (Window.WindowState != WindowState.Minimized) { OnActivated(); } else { OnDeactivated(); } }; }
protected override void SetupForRun() { base.SetupForRun(); Window = new MacOSGameWindow(); }
internal MacOSGameHost(string gameName, bool bindIPC = false, ToolkitOptions toolkitOptions = default) : base(gameName, bindIPC, toolkitOptions) { Window = new MacOSGameWindow(); }