llando
  • Overview
    • 💡Introduction
    • ✨Feature List
  • Guides
    • 📪Quick Setup
    • 📪Manual Setup
    • 📪Utilizing Time Trial Data Effectively
    • 📪Adding Time Trial UI
    • 📪Adding Time Trial Saves
    • 📪Accessing Time Trial Data
    • 📪Adding New Tracks
  • Components/Prefabs
    • 📪TrackManager
    • 📪LapTimeTrackingObject
    • 📪TrackPoint
    • 📪TimeTrialUIManager
    • 📪TimeTrialSaveManager
    • 📪TTSystem
  • Internal Classes
    • 📪Sector
    • 📪LapTimeTrackingEditor
Powered by GitBook
On this page
  1. Internal Classes

LapTimeTrackingEditor

Last updated 1 year ago

This component can be found in the Editor folder and is responsible for visually outputting the relevant time trial data and lap state of your .

This can be seen during runtime as text in the inspector by navigating to an object with the component attached.

The data that this editor script exposes in the inspector is:

  • Number of sectors on the track.

  • Current lap time, formatted to be displayed as a proper time (ms)

  • Personal best lap time, formatted to be displayed as a proper time (ms)

  • IsSectorCompleted - Show the bool state of every sector in the track to see if the object has passed that sector in the current lap.

  • SectorTime - Show the raw value of the time taken to complete each sector in the track.

  • SectorTimeConverted- Show the formatted version of the time taken to complete each sector on the track, displayed as a proper time (ms)

📪
LapTimeTrackingObject
LapTimeTrackingObject