參考官網: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 (看到這命名鬼知道還能設置啊。。。)
其他的以後補坑