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. Dismiss Notice

New Line Renderer with texture and end caps?

Discussion in 'UGUI & TextMesh Pro' started by Cromfeli, Sep 17, 2018.

  1. Cromfeli

    Cromfeli

    Joined:
    Oct 30, 2014
    Posts:
    202
    What is the correct way to setup line renderer to use end caps and then tiled middle of the line?

    Cap start: <
    Cap end: >
    Line: =

    So that result would be:
    <=============>

    Or maybe best even to use 9 slice sprite but how the hell to configure that? o_O

    Is it not possible to set this up with single line or do I need to combine 3 different lines for end caps and middle?
     
    Senkrigar likes this.
  2. Senkrigar

    Senkrigar

    Joined:
    Jul 17, 2019
    Posts:
    8
    Hello, I am trying to do the same thing, did you finally manage to do it ? Or if not could someone else help me ?
    Thanks !
     
  3. Cromfeli

    Cromfeli

    Joined:
    Oct 30, 2014
    Posts:
    202
    I am sorry but I was not able to find a correct way to do it. The end caps always look distorted or smushy no matter how I try to set it up.
     
  4. julianliechty

    julianliechty

    Joined:
    Feb 6, 2020
    Posts:
    1
    NOOOOOOOO that isn't the result I wanted to see!