Added is_paused functionality to pause player when pause menu is open

This commit is contained in:
2024-04-07 13:49:18 -05:00
parent cdf5520bc9
commit af791a2d6c
2 changed files with 0 additions and 84 deletions

10
game.gd
View File

@ -1,10 +0,0 @@
extends Node3D
signal pause_button
func _ready():
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
func _input(event):
if event.is_action_pressed("quit"):
emit_signal("pause_button")

File diff suppressed because one or more lines are too long