I set sprite animation at key1 and key2.
at Key1 :
Position.x = 0
at Key2 :
Position.x = 1
I want it not lerping. i mean i want it appear at posX 0 and posX 1. not between 0~1.
what should i do?
I set sprite animation at key1 and key2.
at Key1 :
Position.x = 0
at Key2 :
Position.x = 1
I want it not lerping. i mean i want it appear at posX 0 and posX 1. not between 0~1.
what should i do?
You have to rightclick on the animation curve and set both tangents
to broken
and constant
.
See the documentation here: https://docs.unity3d.com/Manual/EditingCurves.html