Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates an asset-editor registration for an imported runtime asset type.

API: scripting
Project: Inno.Editor.Assets
Scope: Editor

public InnoEditor.Assets.AssetEditorAttribute.AssetEditorAttribute(System.Type assetType, bool useForChildren = false, int priority = 0)

Parameter assetType: The imported asset type handled by the editor.

Parameter useForChildren: Whether the editor may also handle assignable derived asset types.

Parameter priority: The tie-breaking priority after exactness and inheritance distance.

Exception T:System.ArgumentNullException: Thrown when assetType is null.