hi
it’s the code,I used it for an endless backGround and it works fine.but I have some questions.
void Update () {
Vector2 offset = new Vector2 (Time.time * 1, 0);
GetComponent<Renderer> ().material.mainTextureOffset = offset;
}
what’s the difference between Time.deltaTime and Time.time
and line 2, can anyone explain what does that do?