Moved player input
This commit is contained in:
4
scripts/ui/pause/PauseMain.gd
Normal file
4
scripts/ui/pause/PauseMain.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
class_name PauseMain extends VBoxContainer
|
||||
|
||||
func _ready() -> void:
|
||||
visible = true
|
1
scripts/ui/pause/PauseMain.gd.uid
Normal file
1
scripts/ui/pause/PauseMain.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c7kvg0jw6w340
|
17
scripts/ui/pause/PauseMenu.gd
Normal file
17
scripts/ui/pause/PauseMenu.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
class_name PauseMenu extends Control
|
||||
|
||||
@export var MAIN:PauseMain
|
||||
|
||||
func _ready() -> void:
|
||||
hide()
|
||||
|
||||
func isOpen() -> bool:
|
||||
return visible
|
||||
|
||||
func open() -> void:
|
||||
visible = true
|
||||
MAIN.visible = true
|
||||
|
||||
func close() -> void:
|
||||
visible = false
|
||||
MAIN.visible = false
|
1
scripts/ui/pause/PauseMenu.gd.uid
Normal file
1
scripts/ui/pause/PauseMenu.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cgvf34t5qgwbm
|
Reference in New Issue
Block a user