Hi everyone,
A script calls a function in another Node's script
10 times in a row (each time interrupted by a short 0.1 yield).
extends Node2D
func _call_me_10_times():
var something = preload("res://scene/path.tscn").instance()
call_deferred("add_child", something)
I just want to be sure: that preload
is still being loaded only once, right? Not 10 times. A load
would be loaded 10 times, but not a preload
, right?