Instance Method

didLoad(_:)

A method called by SpriteKit after the reference node’s contents are loaded.

Declaration

func didLoad(_ node: SKNode?)

Parameters

node

The deserialized content’s root node.

Discussion

This method is called after the referenced content is added as a child of the reference node. Override this method in a subclass to implement custom loading behavior.