profiler-capture-frame

Installation
SKILL.md

Profiler / Capture Frame

Reads UnityEngine.Time fields and returns them in a single struct. This tool is intentionally a single-frame snapshot — Unity's runtime API does not expose historical frame-data outside the Profiler window.

Fields

  • FrameTimeMs — Time.deltaTime * 1000f.
  • Fps — 1 / Time.deltaTime (0 when delta is zero).
  • TotalFrameCount — Time.frameCount (includes skipped renders).
  • RealtimeSinceStartup — Time.realtimeSinceStartup.
  • RenderedFrameCount — Time.renderedFrameCount.

Behavior

Uses only built-in Unity APIs (UnityEngine.Time). No external Unity package is required.

How to Call

Installs
1
GitHub Stars
4.6K
First Seen
Aug 21, 2026