1

I have a class PrettyLabel which is a subclass of SKLabelNode class. How can I set this as a custom class for a node which is a SKLabelNode in spritekit scene editor in .sks file? Is it possible? For SKSpriteNode there is an option named custom class in right inspector panel however I cannot find anything like that if the node is a SKLabelNode. Is there any way to set this custom class for a label node in scene editor or it is not possible?

Leszek Szary
  • 9,763
  • 4
  • 55
  • 62

1 Answers1

0

You will have to add it as a SKNode, then set the custom class and work with it programmatically.

Greg
  • 1
  • 1