CVR Line Renderer Helper
Feeds the positions of a list of transforms into a LineRenderer every LateUpdate. Useful for drawing dynamic lines between animated bones or moving objects without writing a script per prop.
Properties
Section titled “Properties”Line Renderer
Section titled “Line Renderer”Target LineRenderer. At Start the component sets lineRenderer.positionCount to the number of points.
Points
Section titled “Points”List of Transforms. Each non-null transform becomes one vertex on the line. Null entries are skipped.
Behaviour
Section titled “Behaviour”Each LateUpdate, the helper iterates Points in order and writes each transform’s world position into the line renderer. If lineRenderer.useWorldSpace is false, positions are first converted via InverseTransformPoint on the line renderer’s transform so the line is drawn in its local space.
Source
Section titled “Source”CVR-GameFiles/ABI.CCK.Components/CVRLineRendererHelper.cs