Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是新的cocos2d-iphone程序员,我开发了一个小游戏,我对游戏的对象是继承CCNODE或NSObject感到困惑。谢谢你!
如果必须通过 addChild 将对象添加到 cocos2d 节点层次结构中,则继承 CCNode。否则继承 NSObject。