When I call yield WaitForSeconds(Time) in my script and time.Scale is 0.0 it will never finish yielding. Is there a way to make WaitForSeconds run outside of time.Scale, say continue to make it run at time.Scale 1.0?
What I was actualy looking for is when you press a button the game pauses (Time.Scale 0.0) and the Gui displays. I however need to use a yield statement while the gui is on and Time.Scale is 0.0 to display another GuiTexture after the yield but I can’t do this because yield WaitForSeconds uses Time.Scale for the seconds. So what I am asking for is if there is a way to yield WaitForSeconds but not with the seconds using the time.scale which is 0.
I have moved on to more complex projects and I am not really working with Unity at the moment. If anyone else is still having this problem or has any questions I think they should still be able to ask in the comments. Otherwise I think that this question can be closed. I actually don’t have the time to check if any of the answers work right now. Still I would like to thank you guys for reviving this question :). I’m pretty sure that I would now be able to solve it myself as I am a bit more experienced then I was when I asked the question. Still, thanks for the help.