SetTextureOffset









How do I use Set Texture Offset
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: Background.cs Copy
37  void ScrollMovement(){
38   offset.y += speed * Time.deltaTime;
39   mat.SetTextureOffset ("_MainTex", offset);
40  }

SetTextureOffset 173 lượt xem

Gõ tìm kiếm nhanh...