private void Render(ResultData result) { var playerIndex = result.CorrectPlayerIndex; var player = PlayerEntity.PlayerList[playerIndex]; StageResultRenderer.Render(player.NickName, playerIndex, result.IsCorrect); // リストに追加する foreach (var stageResultListRenderer in StageResultListRendererList) { stageResultListRenderer.Render(result.Time, result.StageCount); } // 答えを表示する AnswerRenderer.Render(StageEntity.Answer, false); // Timelineを再生する StageResultTimelineRenderer.Play(result.IsCorrect); if (result.IsCorrect) { EffectCrackerRenderer.Play(); InfoEntity.Set(Setting.CorrectInfoList.Random()); } else { InfoEntity.Set(Setting.TimeoutInfoList.Random()); } }
private void Render() => EffectCrackerRenderer.Play();