In this episode I'll show you how to add a UI which shows the distance traveled by the player which is used as the main score component. We'll cover how to get the canvas UI to rescale and fit with various resolutions and how to format the texts correctly. We'll also do some optimizations for canvases to make sure that things runs as fast as possible.
Download the the source code for the Unity project below 👇