I’m using ‘schedule’ for my game.
But, ‘unschedule’ isn’t working at android by using JS bindings.
Same code was working at web.
Is this JS binding’s bug?
scheduleStart:function()
{
this.scheduleCount = 0;
this.schedule(this.timeTest, 0.1);
},
timeTest:function()
{
this.scheduleCount++;
if(this.scheduleCount == 20)
{
this.unschedule(this.timeTest, 1); => schedule is not stopped.
}
}