private void UpdateNewMapUI() { //IL_0061: Unknown result type (might be due to invalid IL or missing references) bool flag = MonoBehaviourSingleton <GameSceneManager> .I.GetCurrentSectionName() == "HomeTop" || MonoBehaviourSingleton <GameSceneManager> .I.GetCurrentSectionName() == "LoungeTop"; if (isPopMenu && flag) { if (MonoBehaviourSingleton <WorldMapManager> .I.releasedRegionIds == null) { return; } Transform ctrl = GetCtrl(UI.SPR_NEW_MAP); bool activeSelf = ctrl.get_gameObject().get_activeSelf(); bool is_visible = MonoBehaviourSingleton <WorldMapManager> .I.ExistRegionDirection(); SetActive((Enum)UI.SPR_NEW_MAP, is_visible); if (!activeSelf) { TweenAlpha component = ctrl.GetComponent <TweenAlpha>(); component.ResetToBeginning(); component.PlayForward(); } } else { SetActive((Enum)UI.SPR_NEW_MAP, false); } if (mapCheckSpan != null) { mapCheckSpan.ResetNextTime(); } }
protected override void Activate(Brain brain) { SetStatus(STATUS.ACTIVE); ChoiceGoalFromEvaluator(brain); if (choiceGoalSpanTimer != null) { choiceGoalSpanTimer.ResetNextTime(); } }