This commit is contained in:
parent
86b796b09f
commit
0adc2c92e2
|
@ -15,7 +15,7 @@ func _ready():
|
||||||
playerCam = get_node("CameraMount") as Node3D
|
playerCam = get_node("CameraMount") as Node3D
|
||||||
|
|
||||||
|
|
||||||
func _process(delta):
|
func _process(_delta):
|
||||||
# Brings your mouse out of the window if you press escape. Add pause screen function here?
|
# Brings your mouse out of the window if you press escape. Add pause screen function here?
|
||||||
if Input.is_action_pressed("ui_cancel"):
|
if Input.is_action_pressed("ui_cancel"):
|
||||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||||
|
|
Loading…
Reference in New Issue