Guest User

Untitled

a guest
Jul 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function Update () {
  2. var minimum = 10.0;
  3. var maximum = 20.0;
  4.  
  5. function Update () {
  6. transform.position = Vector3(Mathf.Lerp(minimum, maximum, Time.time), 0, 0);
  7. }
  8. }
Add Comment
Please, Sign In to add comment