예제 #1
0
    public void Show(string mes, FloatTextDele _dele)
    {
        this.gameObject.SetActive(true);
        text.text = mes;
        Tweener tweener = transform.GetComponent <RectTransform>().DOLocalMove(Vector3.zero, 0.2f);

        tweener.SetEase(Ease.InOutQuart);
        tweener.onComplete = delegate
        {
            StartCoroutine(Anim());
        };
        dele = _dele;
    }
예제 #2
0
 public void ShowFloatText(string mes, FloatTextDele dele)
 {
     floatText.Show(mes, dele);
 }