UnityEditor.SpriteEditorWindow.HandleApplyRevertDialog C# (CSharp) Method

HandleApplyRevertDialog() private method

private HandleApplyRevertDialog ( ) : void
return void
        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();
                }
            }
        }