private void OnFadeOutComplete() { gameController.fadeController.FadeOutComplete -= OnFadeOutComplete; GenerateMessages(); topTextRevealer.RevealText(); currentTextRevealer = topTextRevealer; isFadingOut = false; }
public void OnTopTextFinished() { currentTextRevealer = middleTextRevealer; middleTextRevealer.RevealText(); int statModifier = Random.Range(1, 3); if (gameController.player.Stats.GetStatVal(topTextStatToModify) - statModifier >= 0) { gameController.player.Stats.AddToStat(topTextStatToModify, -1 * statModifier); } }
private void OnMiddleTextFinished() { currentTextRevealer = bottomTextRevealer; bottomTextRevealer.RevealText(); }