add ant bying and pause menu
This commit is contained in:
@@ -3,6 +3,10 @@ extends Node
|
||||
var is_fullscreen: bool = false
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("toggle_fullscreen"):
|
||||
_toggle_fullscreen()
|
||||
|
||||
Reference in New Issue
Block a user