Skip to content

OpenAssetDelegate

Namespace: SideXP.Core

public delegate bool OpenAssetDelegate(Object asset, int line)

Called when an asset is double-clicked in the editor.

Parameters

  • asset: The asset to open.
  • line: The line at which the file should be opened.

Returns

Returns true if the asset has been opened successfully (and so other registered callbacks won't be invoked.