Api IEventListener
interface

IEventListener

public interface IEventListener

Callbacks for the asset system. Add this interface to your Widget to get events.

Methods

virtual Void OnAssetChanged(Asset asset)

An asset has been modified

virtual Void OnAssetThumbGenerated(Asset asset)

The thumbnail for an asset has been updated

virtual Void OnAssetSystemChanges()

Changes have been detected in the asset system. We won't tell you what, but you probably need to update the asset list or something.

virtual Void OnAssetTagsChanged()

Called when a new tag has been added to the asset system.

Assembly: Sandbox.Tools Declaring Type: AssetSystem Full Name: Editor.AssetSystem.IEventListener