Closed stanisz93 closed 2 years ago
yh...turns out after openning this issue, the problem was that when I was iteration over anims, I add callback tween with Debug.Log if debug flag in inspector was turn on, which cause second axis of Move to be join to that debug instead of first axis. Sorry
Hi, I am trying to apply animattion for some object with two separate behaviours for XZ and Y axis, where one of those would have applied different Ease custom curve, it would look something like that:
note: anims is a list of AnimElement structs with following fields:
where animAxis is just an enum:
public enum AnimAxis {All, XZ, Y};
where GetSpecificTween is applying different Move depends on AnimAxis in each anim:
So my problem is that I am getting different results when I add (using Join for second one) two element to mainSequence(durationfor both is the same) : 1) Sequence().Append(player.DOMoveX(..., duration = t1)).Append(player.DOMoveZ(..., duration = t1) 2) player.DOMoveY(..., duration = t1) than when I will simply add player.DOMove(..., duration = t1)
I got different results even if SetEase part is turn off
Thanks for help in advance