Skip to content

Instantly share code, notes, and snippets.

View addie-lombardo's full-sized avatar

Adrienne Lombardo addie-lombardo

View GitHub Profile
@addie-lombardo
addie-lombardo / CustomInspectorCreator.cs
Last active April 9, 2022 07:34 — forked from LotteMakesStuff/CustomInspectorCreator.cs
Editor extension that adds a tool to automagically generate boilerplate custom inspector code~ YES! Just drop it into a folder called 'Editor' and it adds a 'custom inspector' option into the Project window!
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
/// <summary>
/// Generates a boilerplate custom inspector script for Monobehaviours and populates it with its serialized fields.