This commit is contained in:
makeyangcom
2024-03-06 17:30:13 +08:00
parent 2501637568
commit 897cfa7b90
6 changed files with 12 additions and 4 deletions

View File

@@ -19,6 +19,8 @@ var data = {
}
func _ready() -> void:
# 限制窗口最小尺寸
DisplayServer.window_set_min_size(Vector2(1280, 720))
# 服务器模式检测
if OS.has_feature("dedicated_server"):
print("[服务器模式]")