Ejemplo n.º 1
0
 protected override void ExitAnimation(Action onComplete)
 {
     isMoveing = true;
     topBlack.DOSizeDelta(new Vector2(topBlack.sizeDelta.x, 0), 0.5f);
     bottomBlack.DOSizeDelta(new Vector2(bottomBlack.sizeDelta.x, 0), 0.5f).OnComplete(() => {
         onComplete();
         isMoveing = false;
     });
     imgBG.DOFade(0, 0.5f);
     if (personLeft != null)
     {
         personLeft.Hide();
     }
     if (personRight != null)
     {
         personRight.Hide();
     }
     HideDialogBox(curDialogue.personLocation);
 }
Ejemplo n.º 2
0
    private void HideTalker(string position)
    {
        UIDialoguePerson person = position == "0" ? personLeft : personRight;

        person.Hide();
    }