Hi everyone, I am creating a visual novel and decided to pass it to android, use the code TouchPhase.Began to move to next dialogue and is not working on my phone, what can be wrong?
void Update()
{
if (Input.touchCount > 0)
{
if (Input.GetTouch(0).phase == TouchPhase.Began && playerTalking == false)
{
ShowDialogue();
lineNum++;
}
}
}
THANKS FOR READING