title: struggling with creating a looped timer in Unity3D
body: <p>I'm working on a game where the player is a block of ice and naturally, the player will melt, and I decided to just decrease the players Y scale. The thing is though, I'm not sure how to set up the timer to do so. I know about Invoke, and tried to put Invoke in Update, but Invoke, once the timer is up, it just keep on running the loop, which is not what I want.</p>
  <p><a href="https://i.stack.imgur.com/uZCkI.png" rel="nofollow noreferrer">diagram</a></p>
  <p>This diagram is sort of what I mean, I want the function to run every specified second(s), and once the code ran once, it restarts the loop, and in another second(s), it will run through the code again and so on.</p>