rimworld-animation-studio/Library/PackageCache/com.unity.2d.animation@3.2.6/Documentation~/SLComponent.md

9 lines
675 B
Markdown
Raw Normal View History

2022-09-13 05:36:34 +00:00
# Sprite Library component
Use the __Sprite Library__ component to connect the [Sprite Library Asset](SLAsset.md) to a GameObject. This allows you to access all of the Sprites within the __Sprite Library Asset__ and display them on the [Sprite Renderer](https://docs.unity3d.com/Manual/class-SpriteRenderer.) of the GameObject.
![Inspector view of Sprit Component](images/image_1.png)
| Property | Function |
| ------------------------ | ------------------------------------------------------------ |
| __Sprite Library Asset__ | Set this to the Sprite Library Asset you want to use on this GameObject. |