I’m making a fighting game that uses a frameCount alarm. It’s written like this:
if(StartUp1 >= 0){
StartUp1 -= Time.frameCount;
}
if(StartUp1 < 0){
StartUp1 = -0.1;
}
When I play it in the game, it works just fine the first time. Whenever I set the alarm again by entering a command, it runs out faster and faster each time. My theory is that the alarm activates several times over, but that problem doesn’t occur with deltaTime. Is there something that I’m missing? Possibly a special property of frameCount?