Hello!
I am trying to reset a sequence to 1 on a mouse click when the sequence hits 3. The issue I’m having is, it only cycles 1 and 2 and when I click the mouse on the object on two, it resets to 1 rather than going to 3 first.
I’m using increments to increase the sequence on click. It either never makes it to 3 or it skips it and resets after clicking on 2.
here’s a small snippet for how it resets.
if(hit.transform.tag ==“B1Tag” && B1 == 3 )
{
B1 = 1;
}
Hit is the mouse click/input.
any help would be appreciated