SpriteEditorExtension.GetSpriteID
Parameters
| sprite | The Sprite to query. |
Returns
GUID GUID stored in the Sprite.
Description 描述
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.