Guys I am Making a super ball game and I wanted it to make for mobile. I watched a video and it told about making it for pc. Simply i want to say that I want when touching instead of Get mouse button
Pls, tell or change the code plsssss…
Heres my code-
if(Input.GetMouseButtonDown(0) )
{
startGame = true;
if(changePosition==false)
{
changePosition = true;
}else if(changePosition==true)
{
changePosition = false;
}
}