1
NGUI 3 Support / UISprite.sprite
« on: November 15, 2013, 12:27:22 AM »
Hi,
Just wondering if the removal of UISprite.sprite was intentional. I didn't see anything about it in the docs.
I have some code that iterates through albums and
just feels better than
It's a minor quibble, but i think setting the sprite directly is useful.
Just wondering if the removal of UISprite.sprite was intentional. I didn't see anything about it in the docs.
I have some code that iterates through albums and
- Picture.sprite = Picture.atlas.spriteList[_index]; // -> used to work
just feels better than
- Picture.spriteName = Picture.atlas.spriteList[_index].name;
It's a minor quibble, but i think setting the sprite directly is useful.