Make a custom editor for targetObject or targetObjects.
public static Editor CreateEditor(Object targetObject, [DefaultValue("null")] Type editorType) { Object[] targetObjects = new Object[] { targetObject }; return CreateEditor(targetObjects, editorType); }
private void GenerateEditor(Object obj) { if (!ObjectsToEditors.ContainsKey(obj)) { ObjectsToEditors[obj] = UEditor.CreateEditor(obj); } }