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 © 2019 Unity Technologies
    Generated by DocFX