Page 163 says:
Alternatively, you can use the class name instead, like this:
player = childNode(withName: “Player”) as? Player
I do not believe you can find by class name. I’ve tried it multiple ways and checked documentation.
Page 163 says:
Alternatively, you can use the class name instead, like this:
player = childNode(withName: “Player”) as? Player
I do not believe you can find by class name. I’ve tried it multiple ways and checked documentation.