private void HandleApplyRevertDialog()
{
if (this.textureIsDirty && (this.m_TextureImporter != null))
{
if (EditorUtility.DisplayDialog("Unapplied import settings", "Unapplied import settings for '" + this.m_TextureImporter.assetPath + "'", "Apply", "Revert"))
{
this.DoApply();
}
else
{
this.DoRevert();
}
}
}