addChild(_:)
Adds a node to the end of the receiver’s list of child nodes.
Declaration
func addChild(_ node: SKNode)Parameters
- node:
The node to add. The node must not already have a parent.
Adds a node to the end of the receiver’s list of child nodes.
func addChild(_ node: SKNode)The node to add. The node must not already have a parent.