Exemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        CheckIfBackButtonPressed();

        if (!touchDetector.CheckForTouch())
        {
            return;
        }

        touchDetector.ResolveLastTouch();
    }
Exemplo n.º 2
0
    // Update is called once per frame
    void Update()
    {
        CheckIfBackButtonPressed();

        uiControls.Update();
        databaseCtrl.Update();

        if (!touchDetector.CheckForTouch())
        {
            return;
        }

        touchDetector.ResolveLastTouch();
    }