mirror of
https://github.com/tonytins/godotstarter.git
synced 2025-03-15 06:01:26 +00:00
7 lines
175 B
GDScript
7 lines
175 B
GDScript
extends Node
|
|
|
|
func _process(delta):
|
|
if Input.is_action_pressed("ui_pause"):
|
|
GameKit.is_game_paused(true)
|
|
$PauseScn/PauseWin.move_to_center();
|
|
$PauseScn/PauseWin.show()
|