参考官网:http://www.tasharen.com/forum/index.php?topic=6704 && http://tasharen.com/ngui/docs/class_u_i_sprite.html
大家用得最频繁的就是Sprite了,怎么用看官网就行了。现在记录一下怎么用代码设置Sprite。
对UISprite右键--Edit Script,偷看下他的源代码,作者比较奇葩地用属性 spriteName 来设置Sprite (看到这命名鬼知道还能设置啊。。。)
其他的以后补坑