Skip to content

Instantly share code, notes, and snippets.

@thelastpointer
thelastpointer / CSVReader.cs
Last active August 31, 2023 16:55
Simple CSV reader class that is able to convert lines into objects.
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace TLP.Utils
{
/// <summary>
/// Reads CSV files.
/// </summary>
public static class CSVReader
@thelastpointer
thelastpointer / EditorGraph.cs
Last active February 12, 2025 21:26
Draw graphs in OnInspectorGUI. #unity3d
/*
EditorGraph -- quickly draw graphs in the inspector.
Place this in a folder named 'Editor'.
*/
/*
USAGE:
public override void OnInspectorGUI()
{
base.OnInspectorGUI();