I have a texture over a plane and a cube.
Code for texture is :
plane.renderer.material.mainTextureOffset += Vector2.up * Time.deltaTime*speed;
Code for Cube is :
cube.transform.position += Vector2.up * Time.deltaTime*speed;
Since the value of speed is same for both(4), they are not moving at the same speed. The cube is slow and the texture is incredibly fast. How is this happening? How can i solve this?