0
1

[–] draco_nite 0 points 1 point (+1|-0) ago 

So...just use the good ole (int i; i < whatever; i++) then?

[–] [deleted] 1 point 1 point (+2|-1) ago  (edited ago)

[Deleted]

0
0

[–] rumayor ago 

Did you read the article? It does not have to do anything with C#, it is a compiler bug on Mono. Also some of his recommendations make sense on code that is executed on a tight loop, but is fine to do on instances where it is not executed all the time.

[–] [deleted] ago 

[Deleted]

0
1

[–] psioniq 0 points 1 point (+1|-0) ago 

Thanks for the article - always suspected something fishy was going on with foreach in Unity.

0
1

[–] Zesty [S] 0 points 1 point (+1|-0) ago 

Yeah, I categorized it under "suprised / not surprised"