Loads the reference node’s content and adds it as a new child node.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
The archive is deserialized and the root node is added as a child of the reference node. If this method is called on a reference node whose content is already loaded, the existing node tree is discarded and replaced with a fresh copy of the archive’s data.
SpriteKit calls this method automatically if the scene renders the reference node and the reference node has not previously been loaded.