| | |
| | | [SerializeField] Text m_ActiveLabel;
|
| | | [SerializeField] UIEffect m_ActiveEffect;
|
| | | [SerializeField] Button m_Select;
|
| | | [SerializeField] UIEffect m_SelectEffect;
|
| | | [SerializeField] Button m_Close1;
|
| | | [SerializeField] Button m_Close2;
|
| | |
|
| | |
| | |
|
| | | var used = selectExpertSkill == selectExpert;
|
| | |
|
| | | m_SelectEffect.StopImediatly();
|
| | |
|
| | | TreasurePotential expert;
|
| | | if (model.TryGetPotential(selectExpert, out expert))
|
| | | {
|
| | |
| | | m_Select.gameObject.SetActive(activeLevel > 0 && !satisfyActive && !used);
|
| | | m_Active.gameObject.SetActive(satisfyActive || error == 3);
|
| | |
|
| | | if (m_Select.gameObject.activeSelf)
|
| | | {
|
| | | if (selectExpertSkill == 0)
|
| | | {
|
| | | m_SelectEffect.Play();
|
| | | }
|
| | | }
|
| | |
|
| | | //m_Active.SetColorful(m_ActiveLabel, satisfyActive);
|
| | |
|
| | | if (satisfyActive || error == 3)
|