Ejemplo n.º 1
0
    private IEnumerator ShowQuote()
    {
        gameFlowManager.SetPauseAllowed(false);
        gameFlowManager.SetKeepMouseLock(true);
        gameFlowManager.PauseGame(false);
        textOutput.ShowText(TextManager.GetQuote(), TextOutput.TextAreaSize.Small);
        yield return(new WaitWhile(() => textOutput.IsActive()));

        gameFlowManager.SetPauseAllowed(true);
        gameFlowManager.SetKeepMouseLock(false);
        gameFlowManager.ResumeGame(false);
    }