Since 2.6 I have a problem with OnInspectorGUI.
using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor(typeof(NPC))]
public class NPCEditor : Editor
{
public bool staticOptions = true;
public bool targetOptions = true;
public int targetsize = 0;
void OnInspectorGUI ()
{
....
Assets/Editor/NPCEditor.cs(13,14): warning CS0114: `NPCEditor.OnInspectorGUI()' hides inherited member `UnityEditor.Editor.OnInspectorGUI()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
All my custom editor classes do not work any longer. Does someone have a solution?