So I have a script right now that just edits the volume. When you hold the left key, the volume is lowered. When you hold the right key, the volume is suppose to be raised, but it only raises the volume for maybe 1 second or two and the stops. I then have to lift my finger from the key and repress and it will do it again. I changed the key to "k" to see if it was an issue with the logic and it isn't, the other key raised the volume fine without stopping.
if (Input.GetKey("right") || (Input.GetAxis("Horizontal") == -1 && mainMenu.time > delta)) {
changesMade = true;
mainMenu.time = 0.0f;
if (barPosition == numOptions)
barPosition += 1;
if (barPosition == 0)
STM.mainLoop.volume += 0.005F;
}
If anyone has any ideas please toss them out.
EDIT: The problem is only with the key input, the controller works fine.
Thanks! - Austin