docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method AddCategoryLabel

    AddCategoryLabel(Sprite, string, string)

    Add or replace and existing Sprite into the given Category and Label.

    Declaration
    public void AddCategoryLabel(Sprite sprite, string category, string label)
    Parameters
    Type Name Description
    Sprite sprite

    Sprite to add.

    string category

    Category to add the Sprite to.

    string label

    Label of the Category to add the Sprite to. If this parameter is null or an empty string, it will attempt to add a empty category.

    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)