In this Unity 2d tutorial we will be creating scripts for our newly created platforms. This script will allow the platform to move left and right as well as up and down. We can also adjust the speed and distance of the platform from within the script.
Blog Post:
http://www.mybringback.com/tutorial-series/14034/unity-2d-game-development-7-animating-platforms/