C# three bools one true at a time
I have three booleans in c#. Each allows for a different menu to be open. However, only one can be true at any given time. So if i press a button and that button turns the corresponding boolean true to the corresponding menu, but I want a slick check that turns the others false if they are true before turning that boolean true. Not sure if this is making much sense. Thanks for any help in advance.
C# three bools one true at a time
===

I have three booleans in c#. Each allows for a different menu to be open. However, only one can be true at any given time. So if i press a button and that button turns the corresponding boolean true to the corresponding menu, but I want a slick check that turns the others false if they are true before turning that boolean true. Not sure if this is making much sense. Thanks for any help in advance.