Initial commit (1/2)
This commit is contained in:
commit
3411c5796d
66 changed files with 2261 additions and 0 deletions
11
scripts/PlayerPauseController.gd
Normal file
11
scripts/PlayerPauseController.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Control
|
||||
|
||||
@onready var MainShip = $"../../.."
|
||||
|
||||
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