Elevator System
info
These docs were last updated for Elevator 1.0.1.
Requirements
Install ValenCommons first.
Install
- Import the provided Elevator
.unitypackagefile. - Locate
Packages/com.valenvrc.elevator/Runtime/Elevator System.prefab. - Drag the prefab into the scene.
- Duplicate an included floor and move it to the new level.
- Add the floor to the Elevator System's Floors array in button order.
Each floor needs a teleport point, canvas point, door Animator, and child floor trigger. The system creates the floor buttons at runtime.
| Setting | Purpose |
|---|---|
| Debug Mode | Prints additional diagnostic messages. |
| Floors | Ordered destination list. |
| New Floor Sound | Plays after arriving. |
| Door Sound | Plays when a configured door opens or closes. |
| Animation Duration | Delay between closing the current door and teleporting. |
Keep the included canvas content and floor-button prefab references assigned.