Ejemplo n.º 1
0
 private void Innitialzing()
 {
     scoreTMP.text     = playerManager.Score.ToString();
     accuracyTMP.text  = string.Format("{0:n2}", wordStatistics.GetAccuracy() * 100);
     currectTMP.text   = wordStatistics.CorrectWord.ToString();
     incurrectTMP.text = wordStatistics.IncoreectWord.ToString();
     countTotalWordGenerateTMP.text = typingManager.CountTotalWordGenerate.ToString();
     countWordVerifiedTMP.text      = typingManager.CountWordVerified.ToString();
     countFoundWordBugTMP.text      = typingManager.CountFoundWordBug.ToString();
     maxComboTMP.text     = playerManager.MaxCombo.ToString();
     efficiencyBonus.text = string.Format("{0:p0}", bonusEfficiency[indexOfEfficiency]);
     if (ProjectController.Instance != null)
     {
         ProjectController.Instance.MiniGameBonusEfficiency = bonusEfficiency[indexOfEfficiency];
     }
 }
Ejemplo n.º 2
0
 private void Innitialzing()
 {
     scoreTMP.text         = playerManager.Score.ToString();
     accuracyTMP.text      = string.Format("{0:n2}", wordStatistics.GetAccuracy() * 100);
     correctTMP.text       = wordStatistics.CorrectWord.ToString();
     incorrectTMP.text     = wordStatistics.IncoreectWord.ToString();
     countGoodIdeaTMP.text = playerManager.WordGoodIdea.ToString();
     countBadIdeaTMP.text  = playerManager.WordBadIdea.ToString();
     maxComboTMP.text      = playerManager.MaxCombo.ToString();
     efficiencyBonus.text  = string.Format("{0:p0}", bonusEfficiency[indexOfEfficiency]);
     if (ProjectController.Instance != null)
     {
         ProjectController.Instance.MiniGameBonusEfficiency = bonusEfficiency[indexOfEfficiency];
     }
 }
Ejemplo n.º 3
0
 private void Innitialzing()
 {
     damageTMP.text           = bossManager.TotalDamaged.ToString();
     accuracyTMP.text         = string.Format("{0:n2}", wordStatistics.GetAccuracy() * 100);
     currectTMP.text          = wordStatistics.CorrectWord.ToString();
     incurrectTMP.text        = wordStatistics.IncoreectWord.ToString();
     currentBossHpTMP.text    = bossManager.CurrentHp.ToString();
     maxBossHpTMP.text        = bossManager.MaxHp.ToString();
     bossHpFillBar.fillAmount = (float)bossManager.CurrentHp / bossManager.MaxHp;
     maxCombo.text            = playerManager.MaxCombo.ToString();
     efficiencyBonus.text     = string.Format("{0:p0}", bonusEfficiency[indexOfEfficiency]);
     if (ProjectController.Instance != null)
     {
         ProjectController.Instance.MiniGameBonusEfficiency = bonusEfficiency[indexOfEfficiency];
     }
 }