How to know if a list contains GameObjects with a specific Varaible values ?
If I have a list contains many GameObjects every gameobject has a script identifies him
half of the GameObjects inside the list has a string called "Red" the other half has a string called "Blue"
how to tell if all the Red string GameObjects in the list has 0 health? if they all has 0 health the Blue string GameObjects will turn into Red... How?
Comment
Your answer
Follow this Question
Related Questions
Using the "Contain" method on a list with various variables. 0 Answers
How can I check value stored in a list when pressing button with the same name? 2 Answers
Why is my list bigger than it should be? 2 Answers
Can Static classes have static lists? 1 Answer
Getting "object reference not set" error when creating a list dictionary. 1 Answer