public PresetLibraryEditor(ScriptableObjectSaveLoadHelper <T> helper, PresetLibraryEditorState state, System.Action <int, object> itemClickedCallback)
{
this.m_SaveLoadHelper = helper;
this.m_State = state;
this.m_ItemClickedCallback = itemClickedCallback;
this.settingsMenuRightMargin = 10f;
this.useOnePixelOverlappedGrid = false;
this.alwaysShowScrollAreaHorizontalLines = true;
this.marginsForList = new RectOffset(10, 10, 5, 5);
this.marginsForGrid = new RectOffset(5, 5, 5, 5);
this.m_PresetLibraryFileLocation = PresetLibraryLocations.GetFileLocationFromPath(this.currentLibraryWithoutExtension);
}