1 “this” is a child class of CCSprite,is class CEnemySprite2 The sentence does not run the function whose name is ShootBullet.
Why? Please give some helps,thanks!
I feel the trouble isn’t in your source pasted here. They looks well.You can trace the code in CCScheduler::tick(CCTime dt), and see why the schedule callback isn’t invoked.
Thanks，the problem has been resolved.
We use cocos2d-x complete one game software