Example #1
0
        protected PluginConfiguration(Plugin plugin)
        {
            this.plugin = plugin;

            this.accessor = Accessor.Root(this);
        }
 public Persistent(SerializedObject serializedObject, PersistentRootEditorWrapper wrapper, EditorLayout layout) : base(serializedObject, wrapper)
 {
     accessor      = Accessor.Root(serializedObject.targetObject);
     editor        = accessor.CreateInitializedEditor();
     editor.layout = layout;
 }