Vore_Sandbox_Remaster/scripts/UI/FullScreenButton.gd

11 lines
212 B
GDScript

extends Button
# Called when the node enters the scene tree for the first time.
func _ready():
if OS.get_name() == "Android":
queue_free()
func _pressed():
OS.window_fullscreen = not OS.window_fullscreen