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

API: engine
Project: Inno.Editor.Assets

public Inno.Editor.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.