simple animation or code

ok what do you think is better to use more friendly wise to performance and project size?

i have a lift used in a few levels but its not always going to have the same end position. so what would be the best way to do this

A script where you can adjust the parameters (start- end height, timing, etc.) in the inspector as you like would be best most of the time. Also, if you don’t feel like programming the ease-in/ease-out effect, I’d suggest iTween, which is very powerful, extremely flexible and versatile, and free.