Change time interval in SKAction.waitForDuration() as game goes on
问题 Basically this is one of the actions in a repeating sequence of actions. Each time the action gets called up in the sequence, i want the waiting time to increase, so i added a counter to act as the waiting time number and increment whenever the action gets called up in the sequence. The problem is with this, is that the variable only increments when the sequence starts, but doesn't change at all when the action happens again in the sequence, The waiting time remains constant throughout the