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

Sector

Last updated 1 year ago

This is an internal class automatically initialized by the based on the number of sectors present in a track and is calculated based on the number of track points and the type of track.

This is explained further in the TrackType section of the component.

A sector holds important time trial information such as:

  • The index of the sector

  • Whether the sector has been completed by a

  • How long the sector took to be completed by a

  • A time formatted representation of that sector time. (Formatted to the nearest millisecond by default).

NOTE: To change the formatting of how your lap and sector times are represented, you can modify the FormatTime function in the . The default time format is 'm\:ss\.fff' which rounds times to the nearest millisecond.

📪
TrackManager
TrackManager
LapTimeTrackingObject
LapTimeTrackingObject
LapTimeTrackingObject