Added fullscreen toggle

This commit is contained in:
Alan Alexander Cerna
2021-11-12 00:09:28 +02:00
parent 5f38a545a7
commit 777c5c5ec1
3 changed files with 35 additions and 23 deletions

View File

@@ -0,0 +1,6 @@
extends Node
func _process(delta):
if Input.is_action_just_pressed("fullscreen_toggle"):
OS.window_fullscreen = !OS.window_fullscreen
pass