Skip to content

Instantly share code, notes, and snippets.

View bambom's full-sized avatar

bambom bambom

View GitHub Profile
@bambom
bambom / ProfilerStatsToCSVExporter.cs
Created May 23, 2024 06:20 — forked from rthery/ProfilerStatsToCSVExporter.cs
Unity component exporting the specified Profiler stats to a CSV file in the application persistent data path
using System;
using System.IO;
using UnityEngine;
namespace Unity.Profiling
{
/// <summary>
/// This component will export the specified Profiler stats to a CSV file in the application persistent data path
/// cf. https://docs.unity3d.com/ScriptReference/Unity.Profiling.ProfilerRecorder.html
/// </summary>