How to make a Custom Editor in C#

Trying to learn how to make a custom editor in C#
If anyone has some good C# Tutorials for a Custom editor, or even some really good references, I would really appreciate it.

PLEASE DO NOT LINK Unity Script or Java Script, I’ve tried looking at java stuff, and it doesn’t seem to translate well. Thank you

ive already looked at this page : http://unity3d.com/support/documentation/Components/gui-ExtendingEditor.html , but its all java :frowning:

I’ve written an article that covers writing a basic Custom Editor using C#

See: Using Custom Editors in Unity - C# example EDIT: fixed link

Example from the article:

// MyScriptEditor.cs
using UnityEditor;

[CustomEditor(typeof(MyScript))] 
public class MyScriptEditor : Editor {

    public override void OnInspectorGUI() {
        MyScript myTarget = (MyScript) target;
        myTarget.MyValue = EditorGUILayout.IntSlider("Val-you", myTarget.MyValue, 1, 10);
    }
}