protected override PersistentRootEditor CreateEditor(SerializedObject serializedObject, PersistentRootEditorWrapper wrapper) { return(new Persistent(serializedObject, wrapper, layout)); }
protected abstract PersistentRootEditor CreateEditor(SerializedObject serializedObject, PersistentRootEditorWrapper wrapper);
public Persistent(SerializedObject serializedObject, PersistentRootEditorWrapper wrapper, EditorLayout layout) : base(serializedObject, wrapper) { accessor = Accessor.Root(serializedObject.targetObject); editor = accessor.CreateInitializedEditor(); editor.layout = layout; }