Version: 5.6

Packer.GetAtlasDataForSprite

Cambiar al Manual
public static void GetAtlasDataForSprite (Sprite sprite, out string atlasName, out Texture2D atlasTexture);

Parámetros

sprite Sprite to query.
atlasName Gets set to the name of the atlas containing the specified Sprite.
atlasTexture Gets set to the Texture containing the specified Sprite.

Descripción

Returns atlasing data for the specified Sprite.