Skip to content

Instantly share code, notes, and snippets.

@julenka
julenka / CSVLogger.cs
Last active August 11, 2023 05:50
Log data to CSV on HoloLens from a Unity project. Writes to Pictures folder instead of applicationDataPath so that files can be accessed from File Explorer (File Explorer -> HoloLens -> Pictures -> YourFolder). Doesn't require using Device portal.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
#if WINDOWS_UWP
using Windows.Storage;
#endif