| | |
| | | }
|
| | | m_Level.text = _unlock ? StringUtility.Contact(_potential.level, "/", maxLevel) : string.Empty;
|
| | | m_Level.transform.localScale = Vector3.one;
|
| | | m_PotentialName.text = _unlock ? config.SkillName : string.Empty;
|
| | | m_PotentialName.text = config.SkillName;// _unlock ? config.SkillName : string.Empty;
|
| | |
|
| | | model.potentialLevelChangeEvent -= OnPotentialLevelUp;
|
| | | model.potentialLevelChangeEvent += OnPotentialLevelUp;
|
| | |
| | | bool _unlock = potential != null && model.IsPotentialUnlock(model.selectedTreasure, potential.id);
|
| | | m_Level.text = _unlock ? StringUtility.Contact(potential.level, "/", maxLevel) : string.Empty;
|
| | | m_Level.transform.localScale = Vector3.one;
|
| | | m_PotentialName.text = _unlock ? config.SkillName : string.Empty;
|
| | | m_PotentialName.text = config.SkillName;// _unlock ? config.SkillName : string.Empty;
|
| | | }
|
| | |
|
| | | public void OnPotentialSelected(int _potentialId)
|