doTween———demo

1.2d翻转牌动画

public void  RotateCard(Image[] obj)
{
int jiaodu1=,jiaodu2=;
if (obj[].rectTransform.rotation.y == )
{
jiaodu1 = ;
jiaodu2 = ;
}
else
{
jiaodu1 = ;
jiaodu2 = ;
} Sequence s = DOTween.Sequence();
s.Append(obj[].rectTransform.DORotate(new Vector3(,jiaodu1,),));
s.Append(obj[].rectTransform.DORotate(new Vector3(, jiaodu2, ), ));
}
上一篇:opengl学习笔记(三):经过纹理贴图的棋盘


下一篇:Centos扩容swap分区