Catlike Coding
Unity Code Documentation
|
Component that displays the frame rate with an FPSCounter and a UI panel. More...
Inherits MonoBehaviour.
Public Attributes | |
Text | averageFPSLabel |
Label to display the average frame rate. More... | |
Text | highestFPSLabel |
Label to display the maximum frame rate. More... | |
Text | lowestFPSLabel |
Label to display the minimum frame rate. More... | |
Component that displays the frame rate with an FPSCounter and a UI panel.
The Utilities folder contains a prefab with a pre-built FPS panel.
Frame rates are dispayed in the range 0 - 99. Predefined strings are used, so no temporary object allocations occur.
Text CatlikeCoding.Utilities.FPSDisplay.averageFPSLabel |
Label to display the average frame rate.
Text CatlikeCoding.Utilities.FPSDisplay.highestFPSLabel |
Label to display the maximum frame rate.
Text CatlikeCoding.Utilities.FPSDisplay.lowestFPSLabel |
Label to display the minimum frame rate.