private void UpdateMessage()
    {
        //IL_0039: Unknown result type (might be due to invalid IL or missing references)
        //IL_0059: Unknown result type (might be due to invalid IL or missing references)
        //IL_0074: Unknown result type (might be due to invalid IL or missing references)
        switch (m_State)
        {
        case MessageState.CollectItemImg:
        case MessageState.CollectItem:
            if (UIInGameFieldMenu.IsValid())
            {
                UIInGameFieldMenu.I.SetDisableButtons(true);
                UIInGameFieldMenu.I.get_gameObject().SetActive(false);
            }
            break;

        case MessageState.BackHome:
            if (UIInGameFieldMenu.IsValid())
            {
                tweenEndCtrl.get_gameObject().SetActive(true);
                UIInGameFieldMenu.I.SetDisableButtons(true);
                UIInGameFieldMenu.I.get_gameObject().SetActive(true);
                UIInGameFieldMenu.I.SetEnableButton("BTN_REQUEST", true);
            }
            break;
        }
    }
예제 #2
0
 private void OnDestroy()
 {
     if (MonoBehaviourSingleton <ScreenOrientationManager> .IsValid())
     {
         MonoBehaviourSingleton <ScreenOrientationManager> .I.OnScreenRotate -= OnScreenRotate;
     }
     if (instance == this)
     {
         instance = null;
     }
 }
예제 #3
0
    protected override void Awake()
    {
        //IL_0008: Unknown result type (might be due to invalid IL or missing references)
        //IL_000d: Expected O, but got Unknown
        //IL_0053: Unknown result type (might be due to invalid IL or missing references)
        instance   = this;
        _transform = this.get_transform();
        if (MonoBehaviourSingleton <ScreenOrientationManager> .IsValid())
        {
            MonoBehaviourSingleton <ScreenOrientationManager> .I.OnScreenRotate += OnScreenRotate;
            OnScreenRotate(MonoBehaviourSingleton <ScreenOrientationManager> .I.isPortrait);
        }
        base.Awake();
        if (!FieldManager.IsValidInGameNoQuest())
        {
            this.get_gameObject().SetActive(false);
        }
        bool flag = LoungeMatchingManager.IsValidInLounge();

        SetVisibleButton("BTN_HOME", flag);
        SetVisibleButton("BTN_LOUNGE", !flag);
        SetVisibleButton("BTN_MEMBER_LIST", flag);
        SetVisibleButton("BTN_LOUNGE_MEMBER", !flag);
    }