using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class DialogTip : MonoBehaviour
{
// Start is called before the first frame update
void Awake()
{
this.transform.localScale = new Vector3(1, 0, 1);
}
///
/// 显示
///
///
///
public IEnumerator OnShow()
{
this.transform.DOScale(new Vector3(1,1,1),0.25f);
yield return new WaitForSeconds(3.0f);
this.transform.DOScale(new Vector3(1,0,1),0.25f);
}
}