Esempio n. 1
0
 public void UnlockNextLevel()
 {
     currentLevel++;
     PlayerStats.Instance.IncrementAttackLevel();
     attackDamage = AttackStatValues.GetAttackStatValues(currentLevel);
     PlayerStatTexts.Instance.AttackLevelText.text      = AttackStatNames.GetAttackLevelName(currentLevel);
     PlayerStatTexts.Instance.AttackLevelValueText.text = DisplayDamage();
 }
Esempio n. 2
0
 void ShowLevelStats()
 {
     PlayerStatTexts.Instance.AttackLevelText.text     = AttackStatNames.GetAttackLevelName(currentAttackLevel);
     PlayerStatTexts.Instance.HealthLevelText.text     = HealthStatNames.GetHealthLevelName(currentHealthLevel);
     PlayerStatTexts.Instance.ExperienceLevelText.text = ExperienceStatNames.GetExperienceLevelName(currentExperienceLevel);
 }