Done refactoring
This commit is contained in:
parent
3a136ff215
commit
2176e9d798
88 changed files with 821 additions and 880 deletions
11
scripts/misc/PlayerPauseController.gd
Normal file
11
scripts/misc/PlayerPauseController.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Control
|
||||
|
||||
@onready var ship = $"../../.."
|
||||
|
||||
func _on_unpause_button_button_up():
|
||||
get_tree().current_scene.unpause()
|
||||
|
||||
|
||||
func _on_exit_button_button_up():
|
||||
get_tree().current_scene.unpause()
|
||||
get_tree().change_scene_to_file("res://scenes/MainMenu.tscn")
|
||||
Loading…
Add table
Add a link
Reference in a new issue