Making textures Scroll/ animate textures of background (Sprite)

Seb Woj 2 years ago 0

Hi all
I need to scroll my background sprite background.
i cannot find solution in Bolt
in C# i have found but i dont know how to set things up with nodes:

Thank you all for your time :)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
public float scrollSpeed = 0.5F;
public Renderer rend;
void Start() {
rend = GetComponent();
void Update() {
float offset = Time.time * scrollSpeed;
rend.material.SetTextureOffset("_MainTex", new Vector2(offset, 0));

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):