Exemple #1
0
    public void Update()
    {
        //@todo find a better place for cheats
        // @todo hard coded controls
        if (Input.GetKeyDown(KeyCode.C))
        {
            QLogger.ShowOrHideGUI();
        }

        if (gameStateManager != null)
        {
            gameStateManager.Update();
        }
        if (uIManager != null)
        {
            uIManager.DoUpdate();
        }
    }