Hide highlight prompt when paused
This commit is contained in:
@ -62,8 +62,10 @@ func _process(delta):
|
|||||||
vapes_per_min = 0
|
vapes_per_min = 0
|
||||||
if is_paused:
|
if is_paused:
|
||||||
$Head/Crosshair.hide()
|
$Head/Crosshair.hide()
|
||||||
|
$Head/RayCast3D/Prompt.hide()
|
||||||
elif not $Head/Crosshair.visible:
|
elif not $Head/Crosshair.visible:
|
||||||
$Head/Crosshair.show()
|
$Head/Crosshair.show()
|
||||||
|
$Head/RayCast3D/Prompt.show()
|
||||||
|
|
||||||
func _input(event):
|
func _input(event):
|
||||||
if event.is_action("ui_text_backspace"):
|
if event.is_action("ui_text_backspace"):
|
||||||
|
|||||||
Reference in New Issue
Block a user