| | |
| | | [SerializeField] Button m_Obtain;//获取途径
|
| | |
|
| | | [SerializeField] GameObject m_Text;
|
| | | [SerializeField] GameObject m_IsFullLevel;//是否满级
|
| | | private int _FamilyPosition;//家族职位等级 // Use this for initialization
|
| | |
|
| | | private int GetFamilyLV = 0;//获得仙盟等级
|
| | |
| | | _FamilyPosition = (int)PlayerDatas.Instance.fairyData.mine.FamilyLV;
|
| | | _SliderUpdate.gameObject.SetActive(true);
|
| | | m_Text.SetActive(true);
|
| | | m_IsFullLevel.SetActive(false);
|
| | | if (_FamilyPosition >= 2 && (int)PlayerDatas.Instance.fairyData.fairy.FamilyLV < method.FairyHallMax)
|
| | | {
|
| | | _UpdateBtn.gameObject.SetActive(true);
|
| | |
| | | {
|
| | | _SliderUpdate.gameObject.SetActive(false);
|
| | | m_Text.SetActive(false);
|
| | | m_IsFullLevel.SetActive(true);
|
| | | }
|
| | | _UpdateBtn.gameObject.SetActive(false);
|
| | | }
|
| | |
| | | _FamilyPosition = (int)PlayerDatas.Instance.fairyData.mine.FamilyLV;
|
| | | _SliderUpdate.gameObject.SetActive(true);
|
| | | m_Text.SetActive(true);
|
| | | m_IsFullLevel.SetActive(false);
|
| | | if (_FamilyPosition >= 2 && (int)PlayerDatas.Instance.fairyData.fairy.FamilyLV < method.FairyHallMax)
|
| | | {
|
| | | _UpdateBtn.gameObject.SetActive(true);
|
| | |
| | | {
|
| | | _SliderUpdate.gameObject.SetActive(false);
|
| | | m_Text.SetActive(false);
|
| | | m_IsFullLevel.SetActive(true);
|
| | | }
|
| | | _UpdateBtn.gameObject.SetActive(false);
|
| | | }
|
| | |
| | | _FamilyPosition = (int)PlayerDatas.Instance.fairyData.mine.FamilyLV;
|
| | | _SliderUpdate.gameObject.SetActive(true);
|
| | | m_Text.SetActive(true);
|
| | | m_IsFullLevel.SetActive(false);
|
| | | if (_FamilyPosition >= 2 && (int)PlayerDatas.Instance.fairyData.fairy.FamilyLV < method.FairyHallMax)
|
| | | {
|
| | | _UpdateBtn.gameObject.SetActive(true);
|
| | |
| | | {
|
| | | _SliderUpdate.gameObject.SetActive(false);
|
| | | m_Text.SetActive(false);
|
| | | m_IsFullLevel.SetActive(true);
|
| | | }
|
| | | _UpdateBtn.gameObject.SetActive(false);
|
| | | }
|