Incrementation in loop or if statement

前端 未结 0 1853
夕颜
夕颜 2021-01-14 04:30

So here\'s the thing. I have a game in which I have a spawner - to spawn obstacles. And I want after every 5th obstacle to increase the speed. Example: 1st, 2nd, 3rd, 4th, 5

相关标签:
回答
  • 消灭零回复
提交回复
热议问题