private void OnDisable()
{
this.SendEvent("ObjectSelectorClosed", false);
if (this.m_ListArea != null)
{
this.m_StartGridSize.value = this.m_ListArea.gridSize;
}
Undo.CollapseUndoOperations(this.m_ModalUndoGroup);
if (s_SharedObjectSelector == this)
{
s_SharedObjectSelector = null;
}
if (this.m_EditorCache != null)
{
this.m_EditorCache.Dispose();
}
AssetPreview.ClearTemporaryAssetPreviews();
}