Last active
June 29, 2016 02:49
-
-
Save seiroise/a30ff3ec4b714476c00a3d6ee1e559d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| /// <summary> | |
| /// 移動させる | |
| /// </summary> | |
| public class Move : MonoBehaviour { | |
| [SerializeField] float speed; | |
| void Update() { | |
| 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