Game Development Reference
In-Depth Information
The magenta-colored line (a simple quad by default) appears at the Laser Point (Figure
11-24
).
Figure 11-24.
The Line Renderer Component (seen in Textured Wire display)
9.
Under the Parameters section, set the Line Renderer's Start Width and End
Width to
0.05
(Figure
11-25
).
Figure 11-25.
The adjusted Line Renderer width
The length is specified with the Size elements. Element 0 is at a 0 offset from the parent, Laser Point.
Element 2 will also be at an offset, but it will be set by scripting.