Quantcast
Channel: Questions in topic: "count"
Viewing all articles
Browse latest Browse all 187

How to count red colored tiles on my floor?

$
0
0
Hello, My game is 2D. ![alt text][1]I have a flor made out of arond 800 black colored tiles. When player1 moves over them they change to red. How do I count the number of tiles that have been red-colored out of the whole floor? I found [this question,][2] but I do not know how to convert it to C# and if it works for my intention. [1]: /storage/temp/129476-colorfloor-game.png [2]: http://answers.unity.com/questions/658517/count-objects-with-specific-colour.html

Viewing all articles
Browse latest Browse all 187

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>