docs.unity3d.com
    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
    Syntax
    [Serializable]
    [MovedFrom("UnityEditor.U2D.Experimental.Animation")]
    public struct CharacterPart : ICharacterOrder

    Fields

    bones

    Bones influencing the Sprite

    Declaration
    public int[] bones
    Field Value
    Type Description
    Int32[]

    parentGroup

    CharacterGroup that the part belongs to

    Declaration
    public int parentGroup
    Field Value
    Type Description
    Int32

    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
    Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023