void rpsShiftController() { if (canShift == true) { if (Input.GetKeyDown(shift)) { string loadUp = currentHand.Pop(); if (loadUp == "Rock") { handNumber = 1; currentStackSize--; } if (loadUp == "Paper") { handNumber = 2; currentStackSize--; } if (loadUp == "Scissors") { handNumber = 3; currentStackSize--; } canShift = false; sui.unloadTheDeck(); } } if (canShift == false) { shiftCooldown++; } if (shiftCooldown >= shiftCooldownLimit) { canShift = true; shiftCooldown = 0; } }