Examples
Complete scripts from the StageTime test playground. The code on these pages is read straight from the playground's script files, so it always matches what is built and tested.
| Example | Shows |
|---|---|
| Rotating cube | Interact, a synced bool, ownership |
| Counter | UI buttons, synced int, OnDeserialization |
| Tick-synced cube | Shared clock, motion with no per-frame sync |
| Scoreboard | Calling another script, synced arrays, GetProgramVariable |
| Pickup colour | ST Pickup events and the use button |
| Seat board | ST Seat events |
| Teleport pad | Player triggers, TeleportTo |
| Network events | SendCustomNetworkEvent, delayed events |
| Player board | Player list, join and leave events |
| Unity API demo | A tour of the allowed Unity API |
| Video controls | ST Video Player: synced playback, sync modes, video events |