2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
extends Spatial
|
|
|
|
|
|
|
|
|
|
|
|
func _on_pause_pressed():
|
|
|
|
get_node("pause_popup").set_exclusive(true)
|
|
|
|
get_node("pause_popup").popup()
|
2014-11-06 01:20:42 +01:00
|
|
|
get_tree().set_pause(true)
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
func _on_unpause_pressed():
|
|
|
|
get_node("pause_popup").hide()
|
2014-11-06 01:20:42 +01:00
|
|
|
get_tree().set_pause(false)
|