docs.unity3d.com
    Show / Hide Table of Contents

    Interface ICharacterDataProvider

    An interface that allows Sprite Editor Modules to edit Character data for user custom importer.

    Namespace: UnityEditor.U2D.Animation
    Syntax
    [MovedFrom("UnityEditor.U2D.Experimental.Animation")]
    public interface ICharacterDataProvider
    Remarks

    Implement this interface for [[ScriptedImporter]] to leverage on Sprite Editor Modules to edit Character data.

    Methods

    GetCharacterData()

    Returns the CharacterData structure that represents the Character composition.

    Declaration
    CharacterData GetCharacterData()
    Returns
    Type Description
    CharacterData

    CharacterData data

    SetCharacterData(CharacterData)

    Sets the CharacterData structure that represents to the data provider

    Declaration
    void SetCharacterData(CharacterData characterData)
    Parameters
    Type Name Description
    CharacterData characterData

    CharacterData 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