docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpriteLibraryLabel

    Represents a Sprite Library's label.

    Inheritance
    object
    SpriteLibraryLabel
    Implements
    ISpriteLibraryLabel
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.U2D.Animation
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class SpriteLibraryLabel : ISpriteLibraryLabel

    Constructors

    SpriteLibraryLabel(string, Sprite)

    Constructs a new label.

    Declaration
    public SpriteLibraryLabel(string labelName, Sprite labelSprite)
    Parameters
    Type Name Description
    string labelName

    Label's name.

    Sprite labelSprite

    Label's Sprite.

    Properties

    name

    Label's name.

    Declaration
    public string name { get; }
    Property Value
    Type Description
    string

    sprite

    Sprite associated with the label.

    Declaration
    public Sprite sprite { get; }
    Property Value
    Type Description
    Sprite

    Implements

    ISpriteLibraryLabel
    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)