RightStatsMonitor
Useful tool for displaying FPS with high precision. Very lightweight and fast. GC-free
Table of Contents
Demonstration
How to use
- Install
RSM
- Use available actions to interact with the
RSM
viaTools > 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
.
Installation
Install via OpenUPM
The package is available on the openupm registry. It's recommended to install it via openupm-cli.
openupm add com.inc8877.right-stats-monitor
Install via Git URL
Open 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",
}
}
Small useful features
using RightStatsMonitor.Core;
// Get current FPS
RSMCore.CurrentFPS
Notes
RSM 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]
Credits
RSM logo background by Jorge Salvador