Interface ISpriteLibDataProvider
An interface that allows Sprite Editor Modules to edit Sprite Library data for user custom importer.
Namespace: UnityEditor.U2D.Animation
Assembly: solution.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 |
---|---|
SpriteCategoryList | 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 |
---|---|---|
SpriteCategoryList | spriteCategoryList | Data to set |