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, ), ));
}
05-08 15:13