Question by
zikyoubi · Feb 11, 2016 at 09:33 PM ·
unity 5backgroundscroll
Scrolling my background Unity 5
Hello Community ,
So i m stuck , i can't scroll my background automaticly when i use this C# Code , I add it in a Quad component :
void Update()
{
Vector2 offset = new Vector2(speed_move * Time.deltaTime, 0.0f);
GetComponent<Renderer>().material.mainTextureOffset = offset;
}
Can u help me please , i m a beginner in Unity Scripting :)
Comment
Your answer
Follow this Question
Related Questions
Multiple Scroll Not Working 0 Answers
Background made of triangles or squares 2 Answers
2D Background Scrolling Problem - Twitching 0 Answers