Godot Version
4.4.1 on Windows
Question
I know that ready is called after the node and all its children have entered the tree and after all children have called ready.
My question is when I instantiate a scene in code and add it to the tree will the scene be ready by the next line of code or will the scene be added to some kind of list that will be processed in the next frame?
Here is what I am trying to do:
Node currentNode = currentScene.Instantiate<Node>();
if (currentNode is Persistent currentPersistentNode)
{
GetNode(nodeData["parentPath"].ToString()).AddChild(currentNode);
currentPersistentNode.Load(nodeData);
}
I am first instantiating a scene then adding it to the tree then calling load on the node of the scene.
Is it Ready by the time load is called?
Thanks for the help!