Пример #1
0
    void Update()
    {
        // update tracking manager (get input..)
        trackingManager.DoUpdate(currentMode, currentSubMenuMode);

        // update ui manager (move object, cursor, delete...)
        uiManager.DoUpdate(currentMode);

        // update sub menu scroll controller
        subMenuScrollController.DoUpdate(currentSubMenuMode);

        // debug
        if (UnityMode.isEditor)
        {
            CheckForInput();
        }
    }