| | |
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | | using LitJson;
|
| | |
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
| | | [SerializeField] Text m_FightPoint;
|
| | | [SerializeField] PropertyBehaviour[] m_Propertys;
|
| | | [SerializeField] Text m_ReikiPoint;
|
| | | [SerializeField] Text m_ReikiText;
|
| | | [SerializeField] Text m_SkillName;
|
| | | [SerializeField] Text m_SkillText;
|
| | | [SerializeField] Image m_RealmIcon;
|
| | | [SerializeField] UIEffect m_Effect;
|
| | | [SerializeField] Button m_Close;
|
| | |
| | | m_Propertys[i].DisplayRealm(property, currentConfig.AddAttrNum[i] - propertys[property], currentConfig.AddAttrNum[i]);
|
| | | }
|
| | | }
|
| | | m_ReikiPoint.text = string.Empty;
|
| | | m_ReikiText.text = string.Empty;
|
| | | m_SkillName.text = string.Empty;
|
| | | m_SkillText.text = string.Empty;
|
| | | if (currentConfig.AddFreePoint != 0)
|
| | | {
|
| | | m_ReikiPoint.text = currentConfig.AddFreePoint.ToString();
|
| | | m_ReikiText.text = Language.Get("Z2007");
|
| | | }
|
| | |
|
| | | m_ReikiPoint.text = model.realmLevelUpReikiPoint.ToString();
|
| | | var config = RealmConfig.Get(realmLevel);
|
| | | if (config.LearnSkillIDInfo.Length > 4)
|
| | | {
|
| | | var json = JsonMapper.ToObject(config.LearnSkillIDInfo);
|
| | | var array = JsonMapper.ToObject<int[]>(json[PlayerDatas.Instance.baseData.Job.ToString()].ToJson());
|
| | | var skillConfig = SkillConfig.Get(array[0]);
|
| | |
|
| | | m_SkillName.text = skillConfig.SkillName;
|
| | | m_SkillText.text = Language.Get("Z2008");
|
| | | }
|
| | | |
| | |
|
| | | m_RealmIcon.SetSprite(currentConfig.Img);
|
| | |
|