Fully working menu system
This commit is contained in:
parent
1fa10004b3
commit
6eef2c781c
11 changed files with 93 additions and 9 deletions
12
scripts/Base/menu_action.gd
Normal file
12
scripts/Base/menu_action.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Button
|
||||
|
||||
class_name MenuAction
|
||||
|
||||
func _init():
|
||||
get_tree().create_timer(0.05).timeout.connect(_ready)
|
||||
|
||||
func _ready():
|
||||
button_up.connect(action)
|
||||
|
||||
func action():
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue