SpriteRendererTextureSwap.

GetSecondaryTexturesCached(Sprite) Method

Summary

A wrapper around UnityEngine.Sprite.GetSecondaryTextures(UnityEngine.SecondarySpriteTexture[]) which reuses arrays of the same size.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
SpriteRendererTextureSwap

Syntax

public static SecondarySpriteTexture[] GetSecondaryTexturesCached(Sprite sprite)

Parameters

Name Type Description
sprite Sprite

Return Value

Type Description
SecondarySpriteTexture[]