using UnityEngine;
using System.Collections;
public class scrollSpeed : MonoBehaviour {
scrollSpeed;
// Use this for initialization
void Start () {
transform.Translate (new Vector3 (-1, 0, 0) * Time.deltaTime * scrollSpeed);
}
// Update is called once per frame
void Update () {
}
}
↧