public void ProcessTouches ()
{
int firstTouchID = int.MaxValue;
for (int i = 0; i < Input.touchCount; i++)
{
firstTouchID = Mathf.Min(Input.GetTouch(i).fingerId, firstTouchID);
}
for (int i = 0; i < Input.touchCount; ++i)
{
Touch input = Input.GetTouch(i);
if (allowMultiTouch || input.fingerId == firstTouchID)
{ (...)