otherworldly_simulation/scene/trader_board/trade_item_card.gd
2024-11-01 23:23:07 +08:00

16 lines
213 B
GDScript

extends MarginContainer
signal click()
var item:BagItem
func set_item(_item:BagItem):
item=_item
%name.text=item.item_name
%introduction.text=item.item_introduction
%num.text="x"+str(item.num)
pass