Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Liv |
While trying to instance a scene via code i’m getting this error and i dont know why.
this is the problem code
var fireball = preload("res://Fireball.gd")
var fireball_n =fireball.instance()
func _on_Spieler_Manaager_cast():
add_child(fireball_n)
I formatted your code for you. Please use the proper formatting when posting code blocks, so the _
don’t get processed as italics.
kidscancode | 2019-08-10 19:23