docs.unity3d.com
Search Results for

    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
    Assembly: solution.dll
    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

    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)