Generates a set of 2D Box colliders along 2D spline. The spline should be in XY 2D mode. Note, there should not be any GameObject with 2D Box colliders immediately under the spline object, cause it's reusing them for it's own need. If by some reason you need some independent GameObject with 2D BoxCollider under the spline, place it under another object without BoxCollider.
Parameters
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.
height
Height for colliders
heightOffset
offset along Y axis
lengthExtends
increase or decrease the length of colliders along Z axis
maxNumberOfColliders
maximum number of created colliders
isTrigger
if created colliders should be triggers
material
material for colliders
usedByEffector
should collider be used by 2D effector
effector
effector to add to every collider
prefab
prefab to use for creating GameObjects
inheritLayer
all children GameObjects with colliders inherit this GameObject's layer
layer
assign specified layer to all children GameObjects with colliders
showHandles
This component supports handles in Scene View. Enable this flag to show handles. Handles are not interactive.
spheresScale
Adjust spheres scale. Each sphere represent one point of the generated mesh.
spheresColor
Set spheres color.
spheresCount
The number of first N points (spheres) to show. The number is restricted for performance reason.
showIfNotSelected
Show colliders even if object is not selected in Editor