untitled-plant-game/World/FullscreenButton.gd

7 lines
116 B
GDScript3
Raw Normal View History

2021-12-04 16:45:59 +00:00
extends TextureButton
2021-12-04 15:14:06 +00:00
func _on_FullscreenButton_pressed() -> void:
OS.window_fullscreen = !OS.window_fullscreen