Game Development Reference
In-Depth Information
10. Click on the LaserScope object in the Hierarchy view and then go to Compon-
ent | Effects | Line Renderer to add the Line Renderer component to this ob-
ject.
11. Drag the LaserScope object inside the gun_model option in the robot object in
the Hierarchy view, as we can see in the following screenshot:
12. Next, we will click on the LaserScope object and go to its Inspector view and
set it as follows:
Transform
X : 6.5 Y : 0.25 Z : 0
Position
X : 0
Y : 0
Z : 0
Rotation
X : 1
Y : 1
Z : 1
Scale
Line Renderer
Cast Shadows
Uncheck
Receive Shadows
Uncheck
Materials
Element 0
Laser
Positions
Search WWH ::




Custom Search