// GameObject.Find("Canvas/Button (Legacy)").GetComponent<Button>().onClick.AddListener(() => { print("saAS"); });
//https://blog.csdn.net/zcaixzy5211314/article/details/84886663
//transform.DOLocalMoveY(4, 2).OnComplete(() => { print("一句话"); });//oncomplete接着上一次的执行再添加一个功能
// transform.DOMove(new Vector3(2, 1, 3), 3);//移动到具体坐标
transform.DOMove(new Vector3(2, 1, 3), 3).SetEase(Ease.Linear).SetLoops(2,LoopType.Yoyo);//
// transform.DOBlendableMoveBy(new(2, 3, 4), 2);//设置增量(local类似与自转与公转)
// transform.DOBlendableLocalMoveBy(new Vector3(2, 2, 2), 2);
// transform.DOLocalMove(new Vector3(2, 1, 3), 3);
// transform.DOScale(new Vector3(0.5f, 0.2f, 0.1f), 4);
// transform.DORotate(new Vector3(45, 25, 30), 4);
// transform.DOLocalRotate
// Camera.main.DOFieldOfView(20, 3);
// transform.GetComponent<MeshRenderer>().material.DOColor(Color.black, 2);
// transform.GetComponent<MeshRenderer>().material.DOFade (0, 2);
#region 队列 //ctrl +k+s
//队列 连续执行不同的函数
//Sequence seq = DOTween.Sequence();
//seq.Append(transform.DOLocalMoveY(4, 2));
//seq.AppendInterval(4);
//seq.Append(transform.DORotate(new Vector3(45, 25, 30), 4));
//seq.Join(transform.DOMove(new Vector3(2, 1, 3), 2));
seq.AppendCallback(printXXX);
//seq.AppendCallback(() => { print("ASDSAS"); });
//seq.Append(transform.DOLocalMoveY(4, 2));
#endregion