Creates a new node by loading an archive file from the game’s main bundle.
Mac Catalyst 13.0+Beta
The name of the file, without a file extension. The file must be in the app’s main bundle and have a .sks filename extension.
The unarchived node object.
If you call this method on a subclass of the SKScene class and the object in the archive is an SKScene object, the returned object is initialized as if it is a member of the subclass. You use this behavior to create scene layouts in the Xcode Editor and provide custom behaviors in your subclass.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.