Hello guys I'm doing a pause menu. my codes here:
extends CanvasLayer
func _input(event: InputEvent) -> void:
if event.is_action_pressed("pause"):
get_tree().paused = !get_tree().paused
print(get_tree().paused)
$".".visible = true
pass
My continue button isnt workin because I paused my game. And I want to add code activating my continue , back to menu etc. buttons. How can I ?
(Im new on english and develoop game)
one more thing
how can use my continue button ?
extends Button
func _on_continue_Button_pause_pressed():
x
$"../..".visible = false
pass # Replace with function body.
I want fill x with continue func