Unity provides standard spline asset,
use BGCurve only if Unity spline misses some feature

This component let you visualize a Curve with Unity's standard LineRenderer Component in Play Mode. If you are updating the curve and visualizing it with this component, you may want to set related 'Math' updateMode parameter to AabbVisible, so the 'Math' and 'Line Renderer' update their data only if it's really needed (e.g. they are visible by any camera).

splitMode

The mode for splitting a spline. 1) PartsTotal - use specified number parts for whole spline. 2) PartsPerSection - use specified number parts for each section (between 2 points) 3) UseMathData -use data, precalculated by Math component. Note, you can tweak some params at Math as well

partsTotal

The number of splits for TotalSections mode. The actual number of parts can be less than partsTotal due to optimization, but never more.

partsPerSection

The number of splits for PartSections mode. The actual number of parts can be less than partsPerSection due to optimization, but never more.

doNotOptimizeStraightLines

Split straight lines. Straight lines are optimized by default and are not split, but you can override it with this parameter.