Class SpriteLibrarySourceAssetImporter
A ScriptedImporter that imports .spriteLib extension file to generate SpriteLibraryAsset
Inherited Members
Namespace: UnityEditor.U2D.Animation
Syntax
[ScriptedImporter(22100000, "spriteLib", AllowCaching = true)]
public class SpriteLibrarySourceAssetImporter : ScriptedImporter
Methods
OnImportAsset(AssetImportContext)
Implementation of ScriptedImporter.OnImportAsset
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Type | Name | Description |
---|---|---|
AssetImportContext | ctx | This argument contains all the contextual information needed to process the import event and is also used by the custom importer to store the resulting Unity Asset. |