Updating Position Through Script Code
Overview
// Moves the object directly to (1,0,0)
transform.postion = new Vector3(1.0F, 0, 0);Moving Objects by Updating the Position Smoothly Through Code
// Moves the object continuously along the x-axis
transform.postion += new Vector3(1.0F, 0, 0) * Time.deltaTime;Last updated