Skip to content

Instantly share code, notes, and snippets.

View joelgomes1994's full-sized avatar

Joel Gomes da Silva joelgomes1994

View GitHub Profile
class_name ThreadInstancer
extends Node
## Instantiate a scene in a thread and adds its nodes to the scene tree in batches.
# Signals
signal scene_loaded(scene: PackedScene)
signal root_node_instantiated(node: Node)
signal node_instantiated(node: Node)
signal batch_instantiated