# OnImportAsset(AssetImportContext)

> Imports an SVG asset

## Definition

* **Type:** Method
* **Namespace:** [Unity.VectorGraphics.Editor](/engine/6000.6/script-reference/unity/vectorgraphics/editor.md)
* **Assembly:** UnityEditor

```csharp
public override void OnImportAsset(AssetImportContext ctx)
```

### Parameters

**** (\[AssetImportContext]\(/engine/6000.6/script-reference/unityeditor/assetimporters/assetimportcontext)): The asset import context of the scripted importer
