FPSDisplay


Declaration

public class FPSDisplay : MonoBehaviour

Description

Displays the framerate of the application in realtime.

Properties

displayTextThe UI text that display the framerate.
displayFormatThe text format of the framerate display.
refreshRateThe amount of seconds between display updates.
decimalsThe number of decimal digits to display.

Methods

UpdateDisplayUpdates the display with the given framerate.
SetDisplayFormatSets the text format of the framerate display.