public void SkillLevelUp() { if (PlayerDataManager.Inst.GetPlayerData().gold < 500) { return; } PlayerDataManager.Inst.SavePlayerData(PlayerDataManager.PlayerData.DATA_ENUM.DATA_ENUM_GOLD, -500); PlayerDataManager.Inst.SkillLevelUp(m_skillName.text); m_skillLevel.text = "LV : " + PlayerDataManager.Inst.GetSkillLevelInfo(m_skillName.text).ToString(); m_infoText.RefreshStatus(); }