void Update () {
if (dialogueActive && Input.touchCount == 1 || Input.GetKeyUp(KeyCode.Space))
{
currentLine++;
}
I have a dialogue in the game and on the phone when I touch the screen one time it doesn’t go to the next line but to the 4th or 5th dialogue line. In PC with spacebar button it’s not a problem.