public void TransferEditorPrefsState(bool load)
{
if (load)
{
this.m_ItemViewMode = (ItemViewMode) EditorPrefs.GetInt(this.m_Prefix + "ViewMode", (int) this.m_ItemViewMode);
this.m_PreviewHeight = EditorPrefs.GetFloat(this.m_Prefix + "ItemHeight", this.m_PreviewHeight);
this.m_ScrollPosition.y = EditorPrefs.GetFloat(this.m_Prefix + "Scroll", this.m_ScrollPosition.y);
this.m_CurrrentLibrary = EditorPrefs.GetString(this.m_Prefix + "CurrentLib", this.m_CurrrentLibrary);
}
else
{
EditorPrefs.SetInt(this.m_Prefix + "ViewMode", (int) this.m_ItemViewMode);
EditorPrefs.SetFloat(this.m_Prefix + "ItemHeight", this.m_PreviewHeight);
EditorPrefs.SetFloat(this.m_Prefix + "Scroll", this.m_ScrollPosition.y);
EditorPrefs.SetString(this.m_Prefix + "CurrentLib", this.m_CurrrentLibrary);
}
}