Assets/StarfieldMaterials/Scripts/Move.cs (16 lines of code) (raw):
using UnityEngine;
using System.Collections;
public class Move : MonoBehaviour
{
float Target;
void Start()
{
print("Thanks for buying this, if you need any support, email support@dilapidatedmeow.com. " +
"Please note I cannot help with scripting related problems.");
}
void Update()
{
Target += Time.deltaTime / 125;
transform.position = Vector3.MoveTowards(transform.position, new Vector3(transform.position.x, transform.position.y, Target), 0.05f);
}
}