Set the sprite id of a sprite. Can use id or name. NOTE: The Game Object must have a tk2dBaseSprite or derived component attached ( tk2dSprite, tk2dAnimatedSprite)
Game Object
The Game Object to work with. NOTE: The Game Object must have a tk2dBaseSprite or derived component attached ( tk2dSprite, tk2dAnimatedSprite).
Sprite ID
The sprite Id
ORSprite Name
OR The sprite name