Beispiel #1
0
    // Update is called once per frame
    void Update()
    {
        CheckIfBackButtonPressed();

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

        touchDetector.ResolveLastTouch();
    }
Beispiel #2
0
    // Update is called once per frame
    void Update()
    {
        CheckIfBackButtonPressed();

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

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

        touchDetector.ResolveLastTouch();
    }