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

AssetImporterEditor.RevertButton

protected void RevertButton();
protected void RevertButton(string buttonText);

Parameters

buttonTextText 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.

Did you find this page useful? Please give it a rating: