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 |