Unity 4 Custom Class in Inspector

On Unity’s Website for what’s new in Unity 4 it says
“Editor: Create your own Inspector GUI for custom classes or attributes and see it used across all scripts that use those classes or attributes.”

How do I do this for my custom class FloatLimit?

class FloatLimit
{
     var min: float;
     var current: float;
     var max: float;
}

PropertyDrawer

The best place to point you is the unity docs :slight_smile: Takes a bit of practice to get the hang of inspector GUIs, but they aren’t too difficult