![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | morningkingdom |
i have a sprite and i wanna use export var for loading insteed of preload(“…”) for performance issues.
export var first_teleport_sprite : PackedScene # call
func _process(delta):
first_teleport_sprite.instance()
first_teleport_child_node.add_child(first_teleport_sprite)
thise are nodes:
and this is error:
im using the same way for two diffrent resource, but only thing diffrent between them other two that work fine are 3d meshh (kinematic body and rigid body)
but this one is a sprite3D.
this one :
so why i am getting this error ?