8 lines
132 B
GDScript3
8 lines
132 B
GDScript3
|
class_name HUDComponent
|
||
|
extends Sprite3D
|
||
|
|
||
|
@export var health: HealthComponent
|
||
|
|
||
|
func _ready():
|
||
|
texture = $SubViewport.get_texture()
|