Fully working menu system
This commit is contained in:
parent
1fa10004b3
commit
6eef2c781c
11 changed files with 93 additions and 9 deletions
|
|
@ -1,10 +0,0 @@
|
|||
extends Button
|
||||
|
||||
## Represents button which changes menu resource on parent Menu
|
||||
class_name TransitButton
|
||||
|
||||
## This is used when button_up is activated
|
||||
var id: int = -1
|
||||
|
||||
func _ready():
|
||||
button_up.connect(get_parent().transit_menu.bind(id))
|
||||
Loading…
Add table
Add a link
Reference in a new issue