| | |
| | | [SerializeField] Text blessLVText; |
| | | [SerializeField] Button mailBtn; |
| | | |
| | | //其他功能入口 |
| | | [SerializeField] Button monthCardBtn; |
| | | //右侧功能 |
| | | [SerializeField] Button funcColBtn; |
| | | [SerializeField] RightFuncInHome rightFuncInHome; |
| | | |
| | | [SerializeField] Button FirstChargeBtn; |
| | | |
| | | /// <summary> |
| | |
| | | }); |
| | | |
| | | |
| | | monthCardBtn.AddListener(() => |
| | | { |
| | | InvestModel.Instance.BuyInvest(InvestModel.monthCardType); |
| | | }); |
| | | |
| | | |
| | | FirstChargeBtn.AddListener(() => |
| | | { |
| | |
| | | }); |
| | | |
| | | restBtn.AddListener(GotoRest); |
| | | funcColBtn.AddListener(()=> |
| | | { |
| | | rightFuncInHome.ShowFuncCol(true); |
| | | }); |
| | | } |
| | | |
| | | |
| | |
| | | DisplayLevel(); |
| | | DisplayRestState(); |
| | | |
| | | funcColBtn.SetActive(FuncOpen.Instance.IsFuncOpen(GeneralDefine.mainRightFuncOpenFuncID)); |
| | | } |
| | | |
| | | protected override void OnPreOpen() |
| | |
| | | { |
| | | DisplayFirstChargeBtn(); |
| | | } |
| | | else if (funcId == GeneralDefine.mainRightFuncOpenFuncID) |
| | | { |
| | | funcColBtn.SetActive(FuncOpen.Instance.IsFuncOpen(GeneralDefine.mainRightFuncOpenFuncID)); |
| | | } |
| | | } |
| | | |
| | | private void OnUpdateFirstChargeInfo() |