docs.unity3d.com
    目次を表示する/隠す

    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

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)