📜  如何在 monogame 中使窗口居中 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:16.235000             🧑  作者: Mango

代码示例1
Window.Position = new Point(GraphicsDevice.Adapter.CurrentDisplayMode.Width / 2 - WIDTH * SCALE / 2, GraphicsDevice.Adapter.CurrentDisplayMode.Height / 2 - HEIGHT * SCALE / 2);