Ladder Builder
Overview
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.
Setup
- Create an empty gameobject.
- Select
Add Componentin the inspector window and add the LadderBuilder component. - Place either the LadderRung prefab from the SDK examples folder, or your own rung prefab in the
Rung Prefabfield. - Set the
Rung Countproperty to the amount of rungs your ladder should have, and pressCreate Rungs.
Component Properties
| 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. |