Example Scene Setup (Wizard-aligned)
This guide walks through building a race timing scene from scratch. It covers the same setup as the Quick Start Wizard, but explains each piece individually.
Use this guide if you want to: - validate your installation with a fresh scene - create your own base scene/template - troubleshoot missing references
Goal
Create a scene with: - a track (waypoints) - 2–3 competitors - a running timing manager - a Race Tower UI showing gaps - (optional) toast notifications
1) Create or open a scene
- File → New Scene
- Save it somewhere like:
Assets/Scenes/RaceTimingExample.unity
2) Set up the track
There are two ways to do this.
Option A: Use the Wizard (recommended)
Open: Tools → Sirocco Race Timing → Quick Start Wizard
The wizard will:
- Create Assets/SlowToastRacing/RaceTiming/TrackData/TrackMarkersSO.asset (if one doesn't exist)
- Create a RaceTimingManager with the Sprint Race preset (10-lap, F1-style countdown)
- Set up ToastManager + assign DefaultToast + create RaceToastBridge
Then skip to Step 4 (create competitors).
Option B: Manual track setup
- Create the track data asset:
- Project window → Right-click → Create → Race Timing → Track Markers
- Name it:
ExampleTrack - In the Hierarchy:
- Create an empty GameObject named
TrackMarkers - Add the
TrackMarkerManagerBehaviourcomponent - Assign the
ExampleTrackasset to the Track Marker Scriptable Object field - Select
TrackMarkers, then in the Scene View use Shift + Click to place markers around a loop.
3) Add a RaceTimingManager
- Create an empty GameObject named
RaceTimingManager - Add the
RaceTimingManagercomponent - Set in the Inspector:
AutoStartSession: enabled (good for quick testing)SessionConfig: assign a preset fromAssets/SlowToastRacing/RaceTiming/Presets/Sessions/
| Preset | Description |
|---|---|
| Sprint Race | F1 countdown, 10-lap race (wizard default) |
| Practice | No countdown, runs until manually stopped |
| Qualifying | Simple countdown, 15-minute timed session |
| Feature Race | F1 countdown, 50-lap race |
| Endurance Race | F1 countdown, 6-hour timed race |
Sectors default to 3 equal divisions. You can edit them on the
TrackMarkersSOasset.
4) Add competitors
Minimal setup
For each competitor:
1. Create a placeholder object (e.g., GameObject → 3D Object → Cube)
2. Name it: Racer1, Racer2, etc.
3. Add the RaceCompetitor component
4. Optionally set ShortName and TeamColor
Making them move
Sirocco Race Timing does not include vehicle physics — you provide your own movement/controller.
For a simple test, use the demo helper:
- Add DemoRacer from Assets/SlowToastRacing/RaceTiming/Demo/DemoRacer.cs
- Assign the TrackMarkers GameObject to its Track Manager field
- Give each competitor a slightly different speed
5) Add the standings UI
Use the prefab: Assets/SlowToastRacing/RaceTiming/UI/Prefabs/RaceTower.prefab
Or follow the step-by-step guide in: - UI Setup: RaceTowerUI
6) Optional: Toast notifications
- Add a
ToastManager(SiroccoToast is included with the asset) - Use the prefab:
Assets/SlowToastRacing/RaceTiming/ThirdParty/SiroccoToast/Prefabs/ToastManager.prefab - Add
RaceToastBridgeto the scene (the wizard does this automatically) - Press Play and confirm toasts appear for:
- best lap
- best sector
7) Validate
When you press Play, you should see:
- RaceTimingManager logs about configured sectors
- competitors registering ([RaceCompetitor] Registered...)
- lap/sector events firing as objects move around the loop
- Race Tower rows appearing and updating
Next steps
- Customize the session by assigning a different
SessionConfigpreset, or create your own via Assets → Create → Race Timing → Session Config - Wire UnityEvents (Inspector) for lap complete sounds, UI highlights on best lap/sector, etc.
- Replace
DemoRacerwith your own controller and keepRaceCompetitorattached