Struct CharacterPart
Data structure representing a character part
Inherited Members
Namespace: UnityEditor.U2D.Animation
Assembly: solution.dll
Syntax
[Serializable]
[MovedFrom("UnityEditor.U2D.Experimental.Animation")]
public struct CharacterPart
Fields
bones
Bones influencing the Sprite
Declaration
public int[] bones
Field Value
Type | Description |
---|---|
int[] |
parentGroup
CharacterGroup that the part belongs to
Declaration
public int parentGroup
Field Value
Type | Description |
---|---|
int |
spriteId
Sprite ID
Declaration
public string spriteId
Field Value
Type | Description |
---|---|
string |
spritePosition
Position for the Sprite in the character
Declaration
public RectInt spritePosition
Field Value
Type | Description |
---|---|
RectInt |
Properties
order
The order of the part in the list
Declaration
public int order { get; set; }
Property Value
Type | Description |
---|---|
int |