Find Easy Line Renderer in the Tools menu under TechnoBabelGames.
This window will appear.
Set the properties in each section. After clicking on the Create Line button, a new GameObject will appear in your Hierarchy and Scene.
The GameObject will have several child objects in the Hierarchy depending on the number of points in the line. these objects can be manipulated in the scene likje any other GameObject. However, do not rearrange the order of the child objects or unparent them. The object hierarchy must be maintained.
The new GameObject will have a component attached to it called TB Line Renderer Component.
This component allows changes to some of the properties of the line renderer.
Watch this video to learn how to use the Easy Line Renderer Tool.
Use the Line Width slider to determine the width of the line. It is a float value between 0.1 and 1.0. This value is in Unity units.
Toggle value true or false. If true, 10 additional vertices will be applied to both ends of the line to created a rounded affect.
Toggle value true or false. If true, 10 additional vertices will be applied to each point on the 'outside' corner to create a rounded affcted.
Drop down menu to choose between Solid Color, Gradient, and Texture.
Use the color picker to select the color of the entire line.
Use the color picker to select the Start Color and End Color for the line. The Start Color will begin at Point 1 on the line. The End Color will begin at the Ending Point on the line. A gradient will be created along the surface of the line using the selected colors.
A graphic can be set as the face image of the line by setting Coloring Type to Texture.
This drop down menu allows for the choice of a single line, several named polyogons, or to customize certain features of the line.
Selecting Custom from the Starting Shape drop down menu will reveal Points and Close Loop.
An integer between 2 and 10. Sets the number of points in a custom line.
Toggle value true or false. If true, an additional segment to the custom line will be drawn from the Ending Point to Point 1.
Selecting Line from the Starting Shape drop down menu will reveal Shape Size and create a line with two points and Close Loop set to false. Shape Size will determine the length of the line in Unity units
Selecting any polygon from the Starting Shape drop down menu will reveal Shape Size and create the selected shape and set Close Loop to true. The shape will determine the number of points. Shape Size will determine the distance from the center of the shape for each point.
In this section of the Easy Line Renderer tool, a name can be assigned to the line by filling in the string field, Object Name. Once the Create Line button is clicked, a gameobject by that name will appear in the Hierarchy and the line will appear in the Scene view.
Use the Line Width slider to change the width of the line. It is a float value between 0.1 and 1.0. This value is in Unity units.
Note: This will instantly apply changes to the existng line. Use Ctrl + Z (PC) or command + Z (Mac) to undo any undersired changes.
Toggle value true or false. If true, an additional segment to the line will be drawn from the Ending Point to Point 1. Changing this value will instantly apply to the existing line.
If the line was created with a Solid Color or Gradient, Start Color and End Color will be visible with color pickers. These colors can be changed at any time and will be applied to the existing line instantly. Start Color will be the color at Point 1 and End Color will be the color at the Ending Point. A gradient will be created along the line between these points. To maintain a single color, set the same color value for both properties.
If the line was created with a Texture, no properties can be adjusted here. The material attached to this object may be adjusted to change the appearance of the line. See Unity Docs for more information on Materials, Textures, and Shaders.
Note: Changing the shape sise or reseting the shape will undo and changes made to point position.
This will instantly change the distance between points. All points will be equal distance from the center of the shape and each other. This will reset the shape.
This button will reset any changes made to the shape of the line without changing the Shape Size. All points will be equal distance from the center of the shape and each other.