I’m trying to set a bool to be active only when another bool is active along with a button press. The thing is, I want to be able to use the same button for both, but as it is now, the second boolean is automatically set to true when the first one is. I want to be able to press the A button once to set the first boolean to true, and then press A to set the second one to true, only when the first is true.
if (P1ColorChoose == true && Input.GetKeyDown(KeyCode.A))
{
P1Confirm = true;
}
This is the code I’m using currently.