SerializedProperty element = [some serialized property]; var editor = Editor.CreateEditor((ChoiceAction)element.objectReferenceValue); editor.OnInspectorGUI();