A node that creates its children from an archived collection of other nodes.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- watchOS 2.0+
Reference nodes are used to break your game up into multiple reusable parts. For example, games often provide multiple levels of game content but need to share content between those levels. If the game is packaged as a set of scene files, and content is duplicated between those files, then editing the duplicated content can be time consuming. With reference nodes, create the shared content as a separate archive, and then add reference nodes that reference this archive in your game scenes. When each level is loaded, the reference nodes are resolved, and the shared content is added to the final level. Reference nodes are almost always used in conjunction with the Xcode Scene editor.