Skip to content

Instantly share code, notes, and snippets.

@takashicompany
Last active August 29, 2015 14:03
Show Gist options
  • Save takashicompany/14f7901819aa2e954f90 to your computer and use it in GitHub Desktop.
Save takashicompany/14f7901819aa2e954f90 to your computer and use it in GitHub Desktop.
Updateでアニメーションを作る例
void Update()
{
// 1秒で右に10m進む
float speed = 10f;
transform.Translate(Vector3.right * speed * Time.deltaTime);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment