Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Using a Line Renderer with a repeating sprite.

Discussion in '2D' started by soulstealrichardson, Apr 29, 2020.

  1. soulstealrichardson

    soulstealrichardson

    Joined:
    Apr 19, 2020
    Posts:
    15
    Hi guys, I am trying to create an indicator using a line renderer. I have it set up so when you click and drag on an object it enables a line renderer with two points, the origin of the object and your mouse. When I set up my texture on the line renderer it repeats the line WAY too many times. I have looked for settings in both the texture and the sprite. I am at a loss below is a picture of what it is doing and the settings. I have tried many different types of unlit shaders as well.

    Thanks so much if anyone has any advice.
     

    Attached Files:

  2. nabrown

    nabrown

    Joined:
    Jun 27, 2019
    Posts:
    27
    I'm not familiar with this but I'd assume it's that "texture mode = Tile" setting
     
  3. soulstealrichardson

    soulstealrichardson

    Joined:
    Apr 19, 2020
    Posts:
    15
    Thanks for the response, I do have it set to "tile" yet it repeats way too often and that is the problem I'm having thanks for the advice though.
     
  4. nabrown

    nabrown

    Joined:
    Jun 27, 2019
    Posts:
    27
    can you provide the arrow image file?