i want to clear answer for to pause,resume and save coroutines (or) gamestate...already i have googled,am i got some information from this link..http://forum.unity3d.com/threads/261...oroutine-state
here i got only the explanation and i want to know how i want to start game again using resume...
if i click "pause" button, i have stop all the coroutines from that state using "StopAllCoroutines"...
but i dunno how to start that means resumes the game again.... can any one give correct way or idea??
i have already tried with "Time.timeScale" its pauses correctly,but when i resumes the game it's resuming very fast..that means game is loading very quickly....how to stop it also??
ya guys finally i got the perfect ans.....i have found in google from "Pause and Coroutine " under the link http://forum.unity3d.com/threads/683...al-pause-state..
its really helpful....just use
in your coroutines....it'll work fine...thank you guys ... its only for pause and resume your game state...and have to find about save...if any one have idea about save,just post that answer...
answered Dec 31 '10 at 06:03 AM
Save the time, and then pause it, then when you need to resume it, make the time equal to that time...
Of course take out what you don't need...
Hope this helps!
answered Dec 30 '10 at 04:46 PM