Exemplo n.º 1
0
 private void Phase_StartWait()
 {
     //IL_0028: Unknown result type (might be due to invalid IL or missing references)
     //IL_002e: Expected O, but got Unknown
     //IL_0039: Unknown result type (might be due to invalid IL or missing references)
     //IL_0042: Expected O, but got Unknown
     if (0f >= waitSeconds)
     {
         phase       = Phase.FadeIn;
         waitSeconds = 1.2f;
         UITweenCtrl.Reset(tweenCtrl.get_transform(), 0);
         UITweenCtrl.Play(tweenCtrl.get_transform(), true, null, false, 0);
     }
 }
Exemplo n.º 2
0
    public void AnimStart(bool is_entry, bool is_skip, EventDelegate.Callback end_callback)
    {
        //IL_0018: Unknown result type (might be due to invalid IL or missing references)
        //IL_0023: Unknown result type (might be due to invalid IL or missing references)
        //IL_0028: Expected O, but got Unknown
        nowEntryAnim = is_entry;
        Transform t = (!nowEntryAnim) ? this.get_transform() : entryAnimCtrl.get_transform();

        ResetTween(t, 0);
        if (is_skip)
        {
            SkipTween(t, true, 0);
            end_callback?.Invoke();
            nowEntryAnim = false;
        }
        else
        {
            PlayTween(t, true, end_callback, false, 0);
        }
    }