Version: 2017.3
Experimental: this API is experimental and might be changed or removed in the future.

AssetImporterEditor.RevertButton

Switch to Manual
protected void RevertButton ();
protected void RevertButton (string buttonText);

Parameters

buttonText Text to display on button.

Description

Implements the 'Revert' button of the inspector.

The revert button will revert any changes to the values in your custom importer back to the most recently saved values. You can change the text displayed on the button, but not the functionality of the button.