Sprite Library Asset | 2D Animation | 3.0.8
docs.unity3d.com
    Show / Hide Table of Contents

    Sprite Library Asset

    Use the Sprite Library Asset to build a collection of Sprites grouped by Category. This allows you to create groups of similar Sprites. For example, you might create a Category called Weapon, and then add Sprites with the Labels ‘Saber’, ‘Bat’, ‘Blade’, and ‘Axe’.

    To create a Sprite Library Asset, go to Assets > Create > Sprite Library Asset.

    Inspector view of Sprite Library Asset

    Select the plus (+) icon at the bottom-right of the Sprite Library Asset to add a new Category.

    Property Function
    Category Name Enter a Category name. Category names must be unique.
    Category List Use these settings to define the number of Sprites you want to include, and the label for each Sprite.
    Size Enter the number of Labels you want to assign to this Category.
    Label Enter a name for the registered Sprite. This Label must be unique from other Labels in the same Category.
    Sprite Select or drag a Sprite onto this box to register it as the Sprite reference for this Label.
    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