removeChildren(in:)
Removes a list of children from the receiving node.
Declaration
func removeChildren(in nodes: [SKNode])Parameters
- nodes:
An array of
SKNodeobjects that are all children of the receiving node.
Removes a list of children from the receiving node.
func removeChildren(in nodes: [SKNode])An array of SKNode objects that are all children of the receiving node.