mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2026-03-22 00:26:23 +00:00
Added fullscreen toggle
This commit is contained in:
6
source/assets/scripts/system/fullscreen_controller.gd
Normal file
6
source/assets/scripts/system/fullscreen_controller.gd
Normal 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
|
||||
Reference in New Issue
Block a user