void TouchCalculations() { for (int i = 0; i < Input.touches.Length; i++) { PositionMoja[i] = DrawGUI.Percentages(new Vector2(Input.GetTouch(i).position.x, Screen.height - Input.GetTouch(i).position.y)); } if (Input.touchCount == 0) { for (int i = 0; i < 2; i++) { PositionMoja[i] = Vector2.zero; } } if (Input.touchCount == 1) { PositionMoja[1] = Vector2.zero; } }