public static GUID GetSpriteID (Sprite sprite);

Parámetros

spriteThe Sprite to query.

Valor de retorno

GUID GUID stored in the Sprite.

Descripción

Gets the Sprite's GUID.

During Sprite Asset generation, you can identify which SpriteRect was used to generate the Sprite. This is done by matching the GUID return from this method and SpriteRect.spriteID.