unity move an object forward code example Example: unity movement on forward transform.position += transform.forward * Time.deltaTime * movementSpeed;