// Update is called once per frame void Update() { CheckIfBackButtonPressed(); if (!touchDetector.CheckForTouch()) { return; } touchDetector.ResolveLastTouch(); }
// Update is called once per frame void Update() { CheckIfBackButtonPressed(); uiControls.Update(); databaseCtrl.Update(); if (!touchDetector.CheckForTouch()) { return; } touchDetector.ResolveLastTouch(); }