Answer the question
In order to leave comments, you need to log in
How to deal with enumerateChildNodesWithName in swift?
Hello.
I am writing a game on SpriteKit Swift, in which I created a block sprite, inside this sprite I created several other sprites, which I gave the name "palka".
I need to go through all these "sticks". For this I used:
enumerateChildNodesWithName("palka") { node, _ in
... }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question