| | |
| | | [SerializeField] FunctionButton Btn_InSeven;
|
| | | [SerializeField] FunctionButton m_LevelGiftBtn;
|
| | | [SerializeField] FunctionButton m_ExchangeBtn;
|
| | | [SerializeField] FunctionButton m_TurntableBtn;
|
| | | [SerializeField] FunctionButtonGroup buttonGroup;
|
| | | [SerializeField] Button closeBtn;
|
| | |
|
| | |
| | | Btn_InSeven.AddListener(InSeven);
|
| | | m_LevelGiftBtn.onClick.AddListener(OnLevelGift);
|
| | | m_ExchangeBtn.onClick.AddListener(OnExchange);
|
| | | m_TurntableBtn.onClick.AddListener(OnTurntableBtn);
|
| | | closeBtn.onClick.AddListener(CloseClick);
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | functionOrder = 4;
|
| | | }
|
| | | private void OnTurntableBtn()
|
| | | {
|
| | | CloseChildWin();
|
| | | if (windowState == WindowState.Opened)
|
| | | {
|
| | | WindowCenter.Instance.OpenWithoutAnimation<WheelOfFortuneWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<WheelOfFortuneWin>();
|
| | | }
|
| | | functionOrder = 5;
|
| | |
|
| | | }
|
| | | private void OnSignIn()
|
| | | {
|
| | | CloseChildWin();
|
| | |
| | | else
|
| | | {
|
| | | Btn_InSeven.gameObject.SetActive(true);
|
| | | }
|
| | | if (FuncOpen.Instance.IsFuncOpen(144))
|
| | | {
|
| | | m_TurntableBtn.gameObject.SetActive(true);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_TurntableBtn.gameObject.SetActive(false);
|
| | | }
|
| | | CheckOperationOpen();
|
| | |
|
| | |
| | | if (WindowCenter.Instance.IsOpen<AwardExchangeWin>())
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<AwardExchangeWin>();
|
| | | }
|
| | | if (WindowCenter.Instance.IsOpen<WheelOfFortuneWin>())
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<WheelOfFortuneWin>();
|
| | | }
|
| | | }
|
| | |
|