I have a function that I scheduled to run at a certain interval in my init function:
float spawnInterval = 1.0f; this->schedule(schedule_selector(MyScene::enemySpawner), spawnInterval);
I want to know if it is possible to change the schedule time later on in my game (e.g. make it call more often after a click) and how I would do this?
Any advice appreciated