Ejemplo n.º 1
0
    public void ShowSelectEffectDialogBox(IntDele dele, List <string> effectList, bool isMy)
    {
        isMySelect = isMy;
        Duel.GetInstance().SetSelect();
        rectTransform.localScale = new Vector3(1, 0, 1);
        Tweener a = rectTransform.DOScaleY(1, 0.1f);

        a.SetEase(Ease.Linear);
        gameObject.SetActive(true);
        describeList = effectList;
        curRank      = 0;
        length       = effectList.Count;

        callBack = dele;

        leftButton.gameObject.SetActive(false);
        rightButton.gameObject.SetActive(true);

        ShowText();
    }
Ejemplo n.º 2
0
 public void ShowSelectEffectUI(IntDele dele, List <string> effectList, bool isMy)
 {
     selectEffectUI.ShowSelectEffectDialogBox(dele, effectList, isMy);
 }