Answers for "sprite kit remove child"

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 "Swift"

Browse Popular Code Answers by Language