Hello guys!
I have 4 variables that counts the number of color blocks in my game.
colorCount1
colorCount2
colorCount3
colorCount4
Now I want to check if the variables are the exact same number.
The problem is that sometimes in my game only 2 colors are used in certain levels and that means only colorCount1 and colorCount3 are used for example. So in this level only these two values must be identical.
In other levels there are sometimes 3 colors so I have to check if these 3 colors have the same number.
I hope you guys can understand as I had to use DeepL to translate it.
Best,
Kraudi