Skip to content

Instantly share code, notes, and snippets.

@trfd
trfd / EditorExtensionMethods.cs
Created February 2, 2018 08:32 — forked from LotteMakesStuff/EditorExtensionMethods.cs
A reimplementation of the logic in the Unity Editor that draws an inspector for a component. We can use this to learn how unity actually draws the inspector. for more info see https://www.patreon.com/posts/16724128
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Reflection;
public static class EditorExtensionMethods
{
// Public reimplmentation of extention methods and helpers that are marked internal in UnityEditor.dll