public void InfoMenuSetting() { ui.nickNameText.text = SaveManager.instance.nickName; ui.ticket_nickNameChangeText.text = string.Format("닉네임 변경하기\n({0}/1)", CentralInfoManager.ticket_nickNameChange); if (CentralInfoManager.ticket_nickNameChange < 1) { ui.nickNameChangeButton.interactable = false; } else { ui.nickNameChangeButton.interactable = true; } ui.totalStatsAndRankText.text = string.Format("전투력 : {0}", GameManager.NumberNotation_comma(formulacollection.ReturnTotalStats())); ui.LPPotionSetting(); // equip 세팅 EquipSetting(); OnClickEquip(0); ui.LevelSetting(CharacterStatus.instance.isMaxLevel, CharacterStatus.instance.Level, false); ui.ReplayExpSetting(CharacterStatus.instance.Rebirth, false); statInfo.SetActive(false); }
public void SumOfSetting(int index, double statValue) { var res = GameManager.NumberNotation_comma(statValue); //공격력을 제외한 나머지는 %로 if (index == 3 || index == 2) { res = string.Format("{0}%", GameManager.NumberNotation_comma(statValue * 100d)); } else if (index == 1) { res = string.Format("{0}", GameManager.NumberNotation_comma(statValue * 100d)); } sumOfStats[index].text = res; totalStatsAndRankText.text = string.Format("전투력 : {0}", GameManager.NumberNotation_comma(formulacollection.ReturnTotalStats())); }