예제 #1
0
    private void Update()
    {
        switch (_state)
        {
        case GameState.GameRunning:
            _character.CallUpdate(Time.deltaTime);
            _world.CallUpdate(Time.deltaTime);
            break;

        case GameState.GameEnded:
            if (InputManager.IsContinue())
            {
                AppManager.ExitGame();
            }
            break;
        }
    }