This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-09-11 14:38:45 +02:00
|
|
|
extends "res://Assets/UI/Menu.gd"
|
2021-06-01 23:53:32 +02:00
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready():
|
|
|
|
pass
|
|
|
|
|
|
|
|
func toggle_fullscreen(button_pressed):
|
|
|
|
if button_pressed:
|
|
|
|
get_tree().get_root().mode = Window.MODE_FULLSCREEN
|
|
|
|
else:
|
|
|
|
get_tree().get_root().mode = Window.MODE_WINDOWED
|