This component allows you to easily create a ladder of any length by repeating a single rung object along the Y axis.
This component has an example within the SDK examples folder.
Add Component
in the inspector window and add the LadderBuilder component.Rung Prefab
field.Rung Count
property to the amount of rungs your ladder should have, and press Create Rungs
.Field | Description |
---|---|
Rung Count | How many rungs should be generated. |
Rung Height | How far apart each rung should be. |
Disable Rung Mesh | If enabled, all mesh renderers in the rung prefab will be disabled on generation. |
Rung Prefab | The prefab that will be repeated vertically to form the ladder. |