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. Components/Prefabs

TimeTrialUIManager

Component and Prefab

Last updated 1 year ago

This component provides an example solution for how to integrate your time trial data into UI for your projects. It is setup to work automatically with the provided TimeTrialUI prefab that implements the with UI elements automatically.

It provides an on-screen visualization of current lap time, personal best lap time as well as sector completion time and is made to work out of the box with the other Complete Time Trial System components.

To add it to your own projects, simply drag the prefab into your scene. From this you can customize the visuals of the UI prefab to the needs for your game.

If you do not want sector times to be displayed as UI, untick the bool on this component from the inspector.

NOTE: makes use of TextMeshPro for its text UI elements. This is a Unity package that may need to be imported into your project for it to work as intended.

If you need more flexibility or wish to integrate time trial data into your existing UI you can either modify this component or see the guide to use it as a reference for your own implementations.

See the guide: for details on how to do either of these.

CAUTION: When creating your own implementation and using different class/method names from the example , make sure to also change the references and calls from the directly.

📪
TimeTrialUIManager
Accessing Time Trial Data
Adding Time Trial UI
TimeTrialUIManager
LapTimeTrackingObject
TimeTrialUIManager
TimeTrialUIManager