docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpriteLibraryAsset

    A custom Asset that stores Sprites grouping

    Inheritance
    object
    Object
    ScriptableObject
    SpriteLibraryAsset
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    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

    In This Article
    Back to top
    Copyright © 2023 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)