using UnityEngine;
using System.Collections;
public class ScrollScript : MonoBehaviour
{
public float speed = 0;
void Update ()
{
renderer.material.mainTextureOffset = new Vector2(0f, -Time.time * speed);
}
}
↧