Description
The CancelThumbBuild
method is a member of the Editor.Asset
class. It is used to cancel the ongoing thumbnail build process for an asset. This can be useful if you need to stop the thumbnail generation due to changes in the asset or if the process is taking too long and you want to abort it.
Usage
To use the CancelThumbBuild
method, you need to have an instance of the Editor.Asset
class. Simply call the method on the instance to cancel the thumbnail build process.
Example
// Assuming 'asset' is an instance of Editor.Asset
asset.CancelThumbBuild();
// This will cancel any ongoing thumbnail build for the asset.