Answers for "how to remove child node spritekit"

0

remove child from scene swift

if let child = self.childNode(withName: "object") as? SKSpriteNode {
    child.removeFromParent()
}
Posted by: Guest on March-21-2020

Code answers related to "how to remove child node spritekit"

Code answers related to "Swift"

Browse Popular Code Answers by Language