Interface ISpriteLibDataProvider
An interface that allows Sprite Editor Modules to edit Sprite Library data for user custom importer.
Namespace: UnityEditor .U2D.Animation
Assembly: Unity.2D.Animation.Editor.dll
Syntax
[Obsolete("The interface is no longer used")]
public interface ISpriteLibDataProvider
Remarks
Implement this interface for [[ScriptedImporter]] to leverage on Sprite Editor Modules to edit Sprite Library data.
Methods
GetSpriteCategoryList()
Returns the SpriteCategoryList structure that represents the Sprite Library data.
Declaration
SpriteCategoryList GetSpriteCategoryList()
Returns
Type | Description |
---|---|
Sprite |
SpriteCategoryList data |
SetSpriteCategoryList(SpriteCategoryList)
Sets the SpriteCategoryList structure that represents the Sprite Library data to the data provider
Declaration
void SetSpriteCategoryList(SpriteCategoryList spriteCategoryList)
Parameters
Type | Name | Description |
---|---|---|
Sprite |
spriteCategoryList | Data to set |