Implement to create your own custom preview for the preview area of the inspector, primary editor headers and the object selector.
public virtual void OnPreviewGUI(Rect r, GUIStyle background) { if (Event.current.type == EventType.Repaint) { background.Draw(r, false, false, false, false); } }