Files
owniverse/UI/Buttons/item_button.gd
T

26 lines
568 B
GDScript
Raw Normal View History

2026-03-05 20:13:45 +03:00
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")