Files
owniverse/UI/Buttons/item_button.gd
T
2026-03-09 16:10:35 +03:00

21 lines
559 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")