Class SpriteLibrarySourceAssetImporter
A ScriptedImporter that imports .spriteLib extension file to generate SpriteLibraryAsset
Inherited Members
AssetImporter.AddRemap(AssetImporter.SourceAssetIdentifier, Object)
AssetImporter.RemoveRemap(AssetImporter.SourceAssetIdentifier)
AssetImporter.assetTimeStamp
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.U2D.Animation
Assembly: solution.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.2d.animation@latest/index.html?subfolder=/manual/SL-Asset.html")]
[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. |