20 lines
394 B
GDScript
20 lines
394 B
GDScript
extends Control
|
|
|
|
|
|
func _on_resume_button_pressed() -> void:
|
|
|
|
if Global.is_in_game:
|
|
print("Hide and resume ")
|
|
self.hide()
|
|
Global.game_scene.process_mode = Node.PROCESS_MODE_INHERIT
|
|
|
|
|
|
func _on_options_button_pressed() -> void:
|
|
UiManager.mainUI.show_opions_menu()
|
|
|
|
|
|
func _on_main_menu_button_pressed() -> void:
|
|
print("Want to Main Menu")
|
|
Global.game_scene.load_main_menu()
|
|
self.hide()
|