Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fascinator

Pages: [1]
1
Awesome asset! I'm having an issue though.

I have this, and it's working fine:

Code: [Select]
transform.DORotate(new Vector3(0, 0, 360), 8, RotateMode.FastBeyond360).SetLoops(-1).SetEase(Ease.Linear);
So I have my sprite spinning counter-clockwise. When I click on it I just want it to spin the opposite direction so I call:

Code: [Select]
transform.DOPlayBackwards();
This plays backwards but only 1 loop and no infinite as it was doing before I told it to play backwards. Is there some backwards loop I'm missing to set infinite?

I just want to have it spin counter-clockwise, then click and play clockwise and alternate on clicks.

Thanks.

Pages: [1]