示例#1
0
        public unsafe void PlayAnimation(int ribbonMessageID, Action <FightInfoMessageRibbon> callback)
        {
            //IL_005c: Unknown result type (might be due to invalid IL or missing references)
            //IL_0080: Unknown result type (might be due to invalid IL or missing references)
            //IL_00e0: Unknown result type (might be due to invalid IL or missing references)
            //IL_0113: Unknown result type (might be due to invalid IL or missing references)
            //IL_016d: Unknown result type (might be due to invalid IL or missing references)
            //IL_0177: Expected O, but got Unknown
            this.get_gameObject().SetActive(true);
            m_playerOriginalTextField.SetText(ribbonMessageID, GetProvider());
            m_fieldView.set_alpha(0f);
            m_visualRoot.get_transform().set_localPosition(new Vector3(0f, -100f, 0f));
            m_visualRoot.get_transform().set_localScale(new Vector3(3f, 3f, 3f));
            Sequence obj = DOTween.Sequence();

            TweenSettingsExtensions.Insert(obj, 0f, DOTween.To(new DOGetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), new DOSetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), 1f, 0.5f));
            TweenSettingsExtensions.Insert(obj, 0f, DOTween.To(new DOGetter <Vector3>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), new DOSetter <Vector3>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), Vector3.get_zero(), 0.5f));
            TweenSettingsExtensions.Insert(obj, 0f, DOTween.To(new DOGetter <Vector3>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), new DOSetter <Vector3>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), Vector3.get_one(), 0.3f));
            TweenSettingsExtensions.Insert(obj, 2f, TweenSettingsExtensions.SetDelay <TweenerCore <float, float, FloatOptions> >(DOTween.To(new DOGetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), new DOSetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), 0f, 0.3f), 2f));
            _003C_003Ec__DisplayClass9_0 _003C_003Ec__DisplayClass9_;

            TweenSettingsExtensions.OnComplete <Sequence>(obj, new TweenCallback((object)_003C_003Ec__DisplayClass9_, (IntPtr)(void *) /*OpCode not supported: LdFtn*/));
            TweenExtensions.Play <Sequence>(obj);
            this.get_transform().SetAsLastSibling();
        }
    public void PlayHide()
    {
        Tween tween = this.GenerateTweenChart(0, 0, 0, 0, 0);

        this.mat.set_color(new Color(0f, 0f, 0f, 0f));
        this.outMat.set_color(new Color(0f, 0f, 0f, 0f));
        TweenExtensions.Play <Tween>(tween);
    }
    public void Play()
    {
        this.mat.set_color(new Color(0f, 0.75f, 0.75f, 0.4f));
        this.outMat.set_color(new Color(1f, 1f, 1f, 0.4f));
        Tween tween = this.GenerateTweenChart(this.mKaryoku, this.mRaisou, this.mTaiku, this.mKaihi, this.mTaikyu);

        TweenExtensions.Play <Tween>(tween);
    }
示例#4
0
        public IEnumerator PlayEnterAnimation()
        {
            SafeArea.set_localPosition(new Vector3(0f, 1080f, 0f));
            Sequence val = DOTween.Sequence();

            TweenSettingsExtensions.Append(val, TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOLocalMoveY(SafeArea, 0f, 0.25f, false), 30));
            TweenExtensions.Play <Sequence>(val);
            yield return(TweenExtensions.WaitForKill(val));
        }
示例#5
0
        public unsafe IEnumerator Unload()
        {
            DOTweenModuleUI.DOFade(m_greyBG, 0f, 0.5f);
            DOTween.To(new DOGetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), new DOSetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), 0f, 0.25f);
            Sequence val = DOTween.Sequence();

            TweenSettingsExtensions.Append(val, ShortcutExtensions.DOLocalMove(SafeArea, new Vector3(((IntPtr)(void *)SafeArea.get_localPosition()).x, 1080f, 0f), 0.25f, false));
            TweenExtensions.Play <Sequence>(val);
            yield return(TweenExtensions.WaitForKill(val));
        }
示例#6
0
 protected virtual void ApplySelect()
 {
     //IL_0021: Unknown result type (might be due to invalid IL or missing references)
     //IL_0030: Unknown result type (might be due to invalid IL or missing references)
     //IL_0035: Unknown result type (might be due to invalid IL or missing references)
     //IL_0082: Unknown result type (might be due to invalid IL or missing references)
     if (!m_selected)
     {
         m_selectedTicks.get_gameObject().SetActive(true);
         m_tickRectTransform.set_sizeDelta(m_defaultTickDelta + new Vector2(0f, 100f));
         m_selectedTicks.set_alpha(0f);
         Sequence obj = DOTween.Sequence();
         TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOFade(m_selectedTicks, 1f, 0.1f));
         TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOSizeDelta(m_tickRectTransform, m_defaultTickDelta, 0.1f, false));
         TweenExtensions.Play <Sequence>(obj);
         m_selected = true;
     }
 }
示例#7
0
        private IEnumerator CloneAnimation(DeckSlot newSlot)
        {
            Sequence sequence2 = DOTween.Sequence();

            TweenSettingsExtensions.Insert(sequence2, 0f, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 0f, 0.2f));
            TweenSettingsExtensions.Insert(sequence2, 0f, m_deck.LeaveEditMode());
            TweenSettingsExtensions.Insert(sequence2, 0f, m_editModeUI.Hide());
            yield return(TweenExtensions.Play <Sequence>(sequence2));

            while (TweenExtensions.IsPlaying(sequence2))
            {
                yield return(null);
            }
            yield return((object)new WaitForTime(0.1f));

            m_selectedSlot = newSlot;
            m_deck.SetValue(m_selectedSlot);
            sequence2 = DOTween.Sequence();
            TweenSettingsExtensions.Append(sequence2, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 1f, 0.2f));
            TweenSettingsExtensions.Append(sequence2, m_deck.EnterEditMode(m_editModeUI.GetCurrentMode()));
            TweenSettingsExtensions.Append(sequence2, m_editModeUI.Display(m_editModeUI.GetCurrentMode(), m_selectedSlot));
            TweenExtensions.Play <Sequence>(sequence2);
            m_deck.OnCloneValidate();
        }