UISprite

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


其他的以後補坑

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章