brackeys-12/buildings/building.gd

13 lines
219 B
GDScript3
Raw Permalink Normal View History

2024-09-09 01:17:35 +00:00
extends Node2D
@onready var sprite_2d: Sprite2D = $Sprite2D
var key
@onready var data = Data.data.buildings[key]
#@onready var image = Data.data.images[key]
func _ready() -> void:
#sprite_2d.texture = image
pass