docs.unity3d.com
    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
    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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023