Example #1
0
    void OnTouchDown()
    {
        if (score < 1)
        {
            Debug.Log(startDelegate.GetInvocationList().Length);
            startDelegate();
        }


        if (!gameOver)
        {
            score += 1;
            GetComponentInChildren <TextMesh> ().text = score.ToString();
            SetHighScore();
            ChangePos();
        }
    }