docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CharacterPart

    Data structure representing a character part

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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
    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)