Summary
A wrapper around
UnityEngine.Sprite.GetSecondaryTextures(UnityEngine.SecondarySpriteTexture[]) which reuses arrays of the same size.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Sprite
Renderer Texture Swap
Syntax
public static SecondarySpriteTexture[] GetSecondaryTexturesCached(Sprite sprite)
Parameters
| Name | Type | Description |
|---|---|---|
| sprite | Sprite |
Return Value
| Type | Description |
|---|---|
| Secondary |