14 hours ago, Alexander Nazarov said:
Yep, but I want to make some antisipating and easing animation, which I can achieve only with creating an animation clip.
This may be repeating what JohnnyCode said (not sure), but it's certainly not true that this can only be accomplished using animation clips (not generally speaking at least). Ultimately, the transform positions are under your control, which means you can do whatever you want with them. Also, consider that the built-in animation system likely manipulates transforms as well, so in principle at least you can do yourself whatever the animation system is doing, with whatever custom adjustments you need.
In this particular case, it seems what you need is something like an interpolation from one position to another, using an appropriate mapping ('tweening') function to deliver the desired effect. For example, it may be an 'ease-in, ease-out' mapping function that you're looking for. (I didn't follow JohnnyCode's link, but perhaps this topic is covered therein.)