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