void Update()
{
if (Input.GetKey(KeyCode.Plus))
{
if (currZoomLevel == 5) return;
Log($"Plus Zoom, Now Zoom Level: {currZoomLevel}");
}
else if (Input.GetKey(KeyCode.Minus))
{
if (currZoomLevel == 0) return;
Log($"Minus Zoom, Now Zoom Level: {currZoomLevel}");
}
}
Minus Zoom is triggered, but not Plus Zoom. I pressed Keypad + as well as Shift and + on the main part of the keyboard. What am I doing wrong?
Here’s the keypad plus: +
Here’s the normal plus: +
I think they’re same, and should react the same.