26 lines
568 B
GDScript
26 lines
568 B
GDScript
extends VBoxContainer
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
@export var Texture_button: TextureButton
|
|
@export var Description: Label
|
|
@export var Properties: Dictionary
|
|
|
|
#Shortcut|Name|Area|AreaName|Screen|ScreenName|Row|Col|ImagePath|LinkedScreen|ShowBound
|
|
|
|
|
|
func init_button(initial_dict: Dictionary):
|
|
Properties = initial_dict
|
|
|
|
func _on_button_up() -> void:
|
|
print("hello button")
|
|
#Texture_button.texture_normal = load("res://UI/1-Items/Helium.png")
|
|
|
|
|
|
|
|
|
|
|