This question was 
             closed Jan 14, 2016 at 04:30 PM by 
             Baste for the following reason: 
             
 
            OP found solution on their own.
Error CS1026: Unexpected symbol ;, expecting )
Hi, I have problem with script. I'm making 2D Android game and Unity doesn't want me to make it (i think :P)
Here's my script:
using UnityEngine; using System.Collections;
public class TouchStuff : MonoBehaviour {
 int i;
 // Use this for initialization
 void Start () {
 
 }
 
 // Update is called once per frame
 void Update () {
     foreach (Touch touch in Input.touches) {
         if (touch.phase != TouchPhase.Began)
             (i++;
                 Debug.Log(1);
             )
             
         
     
     
     }    
 }
 
               }
The problem is with:
"i++;"
the ) under Debug.Log
Edit: I KNOW! That's how I should do it:
 foreach (Touch touch in Input.touches) {
             if (touch.phase == TouchPhase.Began) 
             {i++;
                 Debug.Log (1);
             }
 
              
               Comment
              
 
               
              Debug.Log(); supposed to contain just 1? if so Debug.Log((1).ToString());
if you intended for it to contain i, then Debug.Log(i.ToString());
Debug.Log() wants string types :)