示例#1
0
 public override void ExitAnimation()
 {
     _callback?.Invoke();
     fichaN2.DOFade(0f, 0.25f).SetDelay(1f);
     rectangle.DOFade(0f, 0.25f).SetDelay(1f);
     inputField.text = "";
     animator.SetTrigger(_exitQuestion9);
 }
示例#2
0
        public override void ExitAnimation()
        {
            _callback?.Invoke();

            var duration = .15f;

            answerBoxImage.DOFade(0f, duration);
            questionText.DOFade(0f, duration).OnComplete(() =>
            {
                answerBox.DOScale(0f, 0f);
            });
        }
示例#3
0
        public override void ExitAnimation()
        {
            var duration = .75f;

            panelBackground.DOFade(0f, duration);
            modalBase.DOFade(0f, duration);
            titleModal.DOFade(0f, duration).OnComplete(() =>
            {
                _callback?.Invoke();
                screen.SetActive(false);
            });
        }
示例#4
0
        public override void ExitAnimation()
        {
            var duration = .5f;

            titleModal.DOFade(0f, duration);
            textModal.DOFade(0f, duration);
            panelBackground.DOFade(0f, duration);
            flag.DOFade(0f, duration);
            medal.DOFade(0f, duration).OnComplete(() =>
            {
                _callback?.Invoke();
                nextButton.SetActive(false);
                screen.SetActive(false);
            });
        }
 public override void ExitAnimation()
 {
     animator.SetBool(_talk, false);
     dialogueBox.DOFade(0f, .25f);
     textFade.DOFade(0f, .25f).SetDelay(.25f);
     background.DOFade(.5f, .25f);
     icon.DOFade(.5f, .25f);
     parent.DOAnchorPosY(150f, .25f);
     parent.DOScale(.4f, .25f).SetEase(Ease.InFlash).SetDelay(.25f).OnComplete(() =>
     {
         parent.DOAnchorPosY(185f, .25f);
         parent.DOAnchorPosX(416f, .25f).OnComplete(() =>
         {
             _callback?.Invoke();
         });
     });
 }
示例#6
0
        public override void ExitAnimation()
        {
            animator.SetBool(_talk, false);

            var duration = .25f;

            // exit dialogue
            secondDialogueText.DOFade(0f, duration);
            secondBoxDialogue.DOScale(.6f, duration);
            secondBoxDialogue.DOAnchorPosY(450f, duration);
            secondBoxDialogue.DOScale(.6f, duration);

            // exit man
            manBackground.DOFade(.4f, duration);
            manImage.DOFade(.4f, duration);
            dialogueMan.DOScale(.19f, duration);
            dialogueMan.DOAnchorPosY(450f, duration).OnComplete(() =>
            {
                _callback?.Invoke();
                screen.SetActive(false);
            });
        }
 public override void ExitAnimation()
 {
     nextButton.SetActive(true);
     _callback?.Invoke();
 }
 public override void ExitAnimation()
 {
     _callback?.Invoke();
 }
 public override void ExitAnimation()
 {
     _callback?.Invoke();
     attentionText.text = "";
     animator.SetTrigger(_exitQuestion7);
 }
示例#10
0
 public override void ExitAnimation()
 {
     animator.SetBool(_talk, false);
     questionText.DOFade(1f, .5f);
     _callback?.Invoke();
 }
 public override void ExitAnimation()
 {
     _callback?.Invoke();
     animator.SetTrigger(_exitQuestion5);
 }
 private void EndDialogue()
 {
     StopAllCoroutines();
     _callback?.Invoke();
 }
 public override void ExitAnimation()
 {
     _callback?.Invoke();
     questText.DOFade(0f, .25f);
     animator.SetTrigger(_exitQuestion8);
 }