Beispiel #1
0
 public unsafe IEnumerator GotoSelectMode()
 {
     if (m_inEdition)
     {
         m_inEdition = false;
         Sequence val = DOTween.Sequence();
         TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 0f, 0.2f));
         TweenSettingsExtensions.Insert(val, 0f, m_deck.LeaveEditMode());
         TweenSettingsExtensions.Insert(val, 0f, m_editModeUI.Hide());
         m_closeCanvas.Invoke();
         m_inputBlocker.SetActive(false);
         TweenSettingsExtensions.InsertCallback(val, TweenExtensions.Duration(val, true), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/));
         m_isOpen = false;
         m_fightTooltip.Hide();
         yield return(TweenExtensions.WaitForKill(val));
     }
 }
Beispiel #2
0
        public unsafe Tween Hide()
        {
            //IL_0042: Unknown result type (might be due to invalid IL or missing references)
            //IL_0081: Unknown result type (might be due to invalid IL or missing references)
            //IL_008b: Expected O, but got Unknown
            if (m_slot != null)
            {
                m_slot.OnModification -= OnSlotModification;
            }
            Sequence val = DOTween.Sequence();

            TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 0f, m_fadeTweenDuration), m_fadeTweenEase));
            Tween val2 = CreateEditModeSelectionTween(null);

            if (val2 != null)
            {
                TweenSettingsExtensions.Insert(val, 0f, val2);
            }
            TweenSettingsExtensions.InsertCallback(val, TweenExtensions.Duration(val, true), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/));
            return(val);
        }