Measure It!| Demo |
Measure It! is a small C# script we use while developing in Unity. It stores various statistics and displays them on screen whether in playmode or in editor. This is especially useful for Unity Indie users who don't have access to the profiler of the Pro version. This is the predecessor of Measure It! Pro, a much more comprehensive debugging and profiling tool you definitely should check out!
- Measure execution times in various units (Ticks, Milliseconds, Seconds) and show Min/Max/Average values
- Display variables and custom text
- Console logging
- Toggle output using debug groups
How to get it?
Measure It! is available at the Unity AssetStore for free.
Measure It! stores information in slots. A case-sensitive string (slotName) is used to create and refer to slots and to display slot's values.
MeasureIt.Begin("Calculation time"); //do some stuff Measureit.End("Calculation time");
Displaying custom text example
Clear a slot
MeasureIt.Clear("Click"); // clear a single slot MeasureIt.Clear(); // clear all slots
MeasureIt.Log("Hello world","aCustomDebugGroup"); // only shown if aCustomDebugGroup isn't muted!
Working with Groups
MeasureIt.MuteGroup("aCustomDebugGroup"); // mute all debug output for aCustomDebugGroup MeasureIt.UnMuteAllGroups(); // Clear list of muted Objects