Useful tool for displaying FPS with high precision. Very lightweight and fast. GC-free
- Install
RSM - Use available actions to interact with the
RSMviaTools > RightStatsMonitor
The RSM has global settings like target frame rate, canvas sort order, initialize at startup, and more.
You can customize the way you want, to do this, just open the settings under this path Tools> RightStatsMonitor> Preferences.
The package is available on the openupm registry. It's recommended to install it via openupm-cli.
openupm add com.inc8877.right-stats-monitorOpen Packages/manifest.json with your favorite text editor. Add the following line to the dependencies block.
{
"dependencies": {
"com.inc8877.right-stats-monitor": "https://github.com/inc8877/RightStatsMonitor.git",
}
}using RightStatsMonitor.Core;
// Get current FPS
RSMCore.CurrentFPSRSM may allocate some memory at runtime in Editor. At runtime on platforms (iOS, Android) does not allocate memory. This has to do with how TMP works in the editor. [Explanation]
RSM logo background by Jorge Salvador

