- Home /
 
 
               Question by 
               siddharth3322 · May 11, 2020 at 02:00 PM · 
                c#threadsenumerate  
              
 
              Identify Each IEnumerator Uniquely
My player character spawning multiple colors waves and try to detect upcoming objects. Here is the small snapshot of the overall idea:

I have spawned pink and blue color waves for testing purposes. I have used IEnumerator (Thread) to generate each color wave. Now two enumerators/threads working separately and completed their job properly. I don't have a problem with their work.
now I require some identifier or index to uniquely identify each running thread and how to manage this with c# that I don't know!
 
                 
                multiple-color-waves.png 
                (14.2 kB) 
               
 
              
               Comment
              
 
               
              Your answer