made some window management changes

This commit is contained in:
2022-11-12 01:06:57 +01:00
parent 8058f3d4eb
commit 906738514b
3 changed files with 11 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
using Godot;
using System;
using System.Diagnostics;
public class Main : Node2D
{
@@ -10,7 +11,9 @@ public class Main : Node2D
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
//window management
OS.WindowMaximized = OS.IsDebugBuild();
OS.WindowFullscreen = !OS.IsDebugBuild();
}
public override async void _Process(float delta)