Class SpriteLibraryAsset
A custom Asset that stores Sprites grouping.
Inherited Members
Namespace: UnityEngine .U2D.Animation
Assembly: solution.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.2d.animation@9.0/manual/AssetUpgrader.html#upgrading-sprite-libraries")]
[MovedFrom("UnityEngine.Experimental.U2D.Animation")]
[Icon("Packages/com.unity.2d.animation/Editor/Assets/ComponentIcons/Animation.SpriteLibrary.png")]
public class SpriteLibraryAsset : ScriptableObject
Methods
Name | Description |
---|---|
Add |
Add or replace and existing Sprite into the given Category and Label. |
Get |
Returns the labels' name for the given name. |
Get |
Return all the Category names of the Sprite Library Asset that is associated. |
Get |
(Obsolete) Returns the labels' name for the given name. |
Get |
Returns the Sprite registered in the Asset given the Category and Label value. |
Remove |
Remove a Label from a given Category. |