add tween plugin and refactoring UI
This commit is contained in:
14
core/game_menu/page.gd
Normal file
14
core/game_menu/page.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
extends Control
|
||||
|
||||
class_name GameMenuPage
|
||||
|
||||
|
||||
func show_page() -> void:
|
||||
var tweens = find_children("*", "ContainerTween", true, false)
|
||||
for tween in tweens:
|
||||
tween.start_tween()
|
||||
show()
|
||||
|
||||
|
||||
func hide_page() -> void:
|
||||
hide()
|
||||
Reference in New Issue
Block a user