docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)