Skip to main content

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.

ExampleShows
Rotating cubeInteract, a synced bool, ownership
CounterUI buttons, synced int, OnDeserialization
Tick-synced cubeShared clock, motion with no per-frame sync
ScoreboardCalling another script, synced arrays, GetProgramVariable
Pickup colourST Pickup events and the use button
Seat boardST Seat events
Teleport padPlayer triggers, TeleportTo
Network eventsSendCustomNetworkEvent, delayed events
Player boardPlayer list, join and leave events
Unity API demoA tour of the allowed Unity API
Video controlsST Video Player: synced playback, sync modes, video events