Class SpriteLibraryAsset
A custom Asset that stores Sprites grouping
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEngine.U2D.Animation
Assembly: solution.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.2d.animation@7.0/manual/SLAsset.html")]
[MovedFrom("UnityEngine.Experimental.U2D.Animation")]
public class SpriteLibraryAsset : ScriptableObject
Methods
Name | Description |
---|---|
AddCategoryLabel(Sprite, string, string) | Add or replace and existing Sprite into the given Category and Label |
GetCategoryLabelNames(string) | Returns the labels' name for the given name |
GetCategoryNames() | Return all the Category names of the Sprite Library Asset that is associated. |
GetCategorylabelNames(string) | (Obsolete) Returns the labels' name for the given name |
GetSprite(string, string) | Returns the Sprite registered in the Asset given the Category and Label value |
RemoveCategoryLabel(string, string, bool) | Remove a Label from a given Category |