- Home /
IEnumerator stops working when component slides
So I am working on a basic incremental game with some progress bars. Everything was working fine to begin with. Within this menu are components that are bought that when the bar fills adds a number. Now this time is controlled with an IEnumerator. After I made the menu slide out of the canvas via a button, the rest of the functions of that component works. But the time no longer ticks up. I will provide code if needed, but was mainly wondering if the issue is a relationship between the animator and IEnumerator. If so any ways to work around that?
Answer by zachwuzhere · Aug 19, 2017 at 11:47 PM
The IEnumerator function sucks IMO. Did you try using time instead, and Increment with that?
Your answer
Follow this Question
Related Questions
Why is door opening so fast with boolean condition? 0 Answers
New to Raycasts, trouble using "hit" 0 Answers
Unity WebGL Build: Why it shows only Empty Folder? 0 Answers
how do i make my spawn system spawn every 2 seconds then wait 10minutes? 3 Answers
Play AudioClips from a List by using yield WaitForSeconds (C#) 1 Answer