Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created July 1, 2018 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flushpot1125/a977a4afd52d3b45417b4ee7a07c673c to your computer and use it in GitHub Desktop.
Save flushpot1125/a977a4afd52d3b45417b4ee7a07c673c to your computer and use it in GitHub Desktop.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test : MonoBehaviour {
Vector3 pos;
void Update () {
transform.position =pos;
pos.x += 0.05f;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment