if (Application.platform == RuntimePlatform.WindowsEditor)
{
if (Input.GetKey(KeyCode.Space))
{
Debug.Log("spcae");
break;
}
}
else
{
x = Input.GetAxisRaw("Mouse X");
y = Input.GetAxisRaw("Mouse Y");
if (Input.touchCount == 1)
{
if (y.ToString().Contains("16.7")
|| y.ToString().Contains("33.4"))
{
Debug.Log("next");
break;
}
}
}