You have to split the function in several parts.
Inside the Tick Method you will have a counter, that counts down and then calls the parts of the function one after another.
You have to split the function in several parts.
Inside the Tick Method you will have a counter, that counts down and then calls the parts of the function one after another.