how to Run a Coroutine even game is paused?
i need to run a Coroutine function from starting to end of the game even game is paused in background. I checked application.runinbackground = true.
unity it self telling like the above method will be ignored on android and ios.
now how can i achieve this for android and ios.
thanks
Answer by Tricell · Jun 28, 2017 at 02:21 AM
Right here: http://answers.unity3d.com/questions/301868/yield-waitforseconds-outside-of-timescale.html
Thanks for your attempt.
But this not what am expecting. Am doing AI system like adding score for each and every second. if the game paused also the score should add.
Thanks.
Your answer

Follow this Question
Related Questions
How to implement pausing of WaitForSeconds based coroutine? 1 Answer
How to pause a coroutine when an image is clicked from another script? 0 Answers
How to force IEnumerator methods to be called only with StartCoroutine 2 Answers
Is there a way to check something every frame from within a coroutine? 1 Answer
Calling coroutine in a method issue. 1 Answer