Esempio n. 1
0
    // Update is called once per frame
    void Update()
    {
        // Make sure the user touched the screen
        if (Input.touchCount == 0)
        {
            return;
        }

        Touch touch = Input.GetTouch(0);

        if (touch.phase == TouchPhase.Began)
        {
            _message = "TOUCH: " + TestPlugin.TestNumber();
        }
    }