实现通用的update方法 在cocos2d 2.x你需要2个步骤去实现在每帧调用update方法: 在cocos2d 3.x 你再也不需要调用scheduleupdate了,你只需要在ccnode子类中重载以下方法: