SKNode

public extension SKNode
  • SwifterSwift: Return an array of all SKNode descendants

        mySKNode.descendants() -> [childNodeOne, childNodeTwo]
    

    Declaration

    Swift

    func descendants() -> [SKNode]