func _2load_scene(path, save_game_values):
thread = Thread.new()
print(save_game_values)
thread.start( self, "_2thread_load", path)
thread.call_deferred("_2thread_load", path)
raise() # Show on top.
progress.visible = true
the code above not works. I want to pass 2 data pieces. First is path the second is tres save file. Why not works?
func load_scene(path):
thread = Thread.new()
thread.start( self, "_thread_load", path)
raise() # Show on top.
progress.visible = true
This one works but only 1 argumant passed in.
A you may remind calldeferred("2deferredgotoscene", path, savegamevalues) can carry many variables. Why not for the thread?