I am currently making a game in Cocos2D, and I need to pause/resume some particle systems in order to optimize.
How can I do this?
I am aware that I can use [particleSystem unscheduleUpdate] and [particleSystem scheduleUpdate], but how can I check if an update IS scheduled already?
I want to pause all particle systems that are off screen, and resume them when they get back in view, so I am looping through my particle systems when I move my viewport.
particleSystem.active does not seem to give me the desired flag to check whether the system is updating or not...
What am I missing here?