docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpriteLibraryCategory

    Represents a Sprite Library's category.

    Inheritance
    object
    SpriteLibraryCategory
    Implements
    ISpriteLibraryCategory
    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 SpriteLibraryCategory : ISpriteLibraryCategory

    Constructors

    SpriteLibraryCategory(string, IEnumerable<SpriteLibraryLabel>)

    Constructs a new category.

    Declaration
    public SpriteLibraryCategory(string categoryName, IEnumerable<SpriteLibraryLabel> categoryLabels)
    Parameters
    Type Name Description
    string categoryName

    Category's name.

    IEnumerable<SpriteLibraryLabel> categoryLabels

    Collection of labels in a category.

    Properties

    labels

    List of labels in category.

    Declaration
    public IEnumerable<ISpriteLibraryLabel> labels { get; }
    Property Value
    Type Description
    IEnumerable<ISpriteLibraryLabel>

    name

    Category's name.

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

    Implements

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