Struct CharacterData
Data structure that represents a character setup
Namespace: UnityEditor.U2D.Animation
Syntax
[Serializable]
public struct CharacterData
Fields
bones
SpriteBones influencing the Character
Declaration
public SpriteBone[] bones
Field Value
| Type | Description |
|---|---|
| UnityEngine.U2D.SpriteBone[] |
characterGroups
Character grouping information
Declaration
public CharacterGroup[] characterGroups
Field Value
| Type | Description |
|---|---|
| CharacterGroup[] |
dimension
The dimension of the character required
Declaration
public Vector2Int dimension
Field Value
| Type | Description |
|---|---|
| Vector2Int |
parts
Parts of the character
Declaration
public CharacterPart[] parts
Field Value
| Type | Description |
|---|---|
| CharacterPart[] |