当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - How to assign a custom class to a sprite by default

问题描述:

Is there any way I can make it so every time I add a particular image/sprite to the scene in the Scene Editor it can be assigned a Custom Class?

I am trying to make a game with a lot of sprites, and it is a hassle to assign Custom Classes to each sprite.

I know I can multi-select sprites and assign them the same Custom Class, but default Custom Classes would be so much easier.

分享给朋友:
您可能感兴趣的文章:
随机阅读: