Debug Draw Forward Vector LPK_DebugDrawForwardVector.cs

Draws a forward pointing vector for the owner, with a set length and color by the user.

Suggested use:

Use to debug or display an object's game. Freedom goes to the developer over which situations the line is drawn in, and what colour it is.

Examples found in: Project 8

Components
Property Type Description Default Value
Draw Modes
Draw in Scene Boolean Sets the debug draw to appear in the scene view. True
Draw in Game Boolean Sets the debug draw to appear in game view. True
Draw in Build Boolean Sets the debug draw to appear in the built game. True
Draw Hierarchy Boolean Whether this object's children should also be drawn. False
Component Properties
Length Float Length of the line to draw for forward vector. 2.0
Scene Line Color Color Color of the debug line if drawn. 255, 0, 0, 255
Game Renderer Color Color Color of the line renderer if drawn in game. 255, 0, 0, 255
Build Renderer Color Color Color of the line renderer if drawn in build. 255, 0, 0, 255
Debug Properties
Label String Notes for the user about this component. This does nothing to the game or build. None