This is the old Animancer v7.4 documentation. Click here for the latest version.

SpriteRendererTextureSwap.

GetSpriteMap(Texture2D) Method

Summary

Returns a cached dictionary mapping original sprites to duplicates using the specified `texture`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
SpriteRendererTextureSwap

Syntax

public static Dictionary<Sprite, Sprite> GetSpriteMap(Texture2D texture)

Parameters

Name Type Description
texture Texture2D

Return Value

Type Description
Dictionary<Sprite, Sprite>