8 lines
132 B
GDScript3
Raw Normal View History

2024-02-12 23:22:27 +00:00
class_name HUDComponent
extends Sprite3D
@export var health: HealthComponent
func _ready():
texture = $SubViewport.get_texture()