Unity3D 使用脚本来控制 UI 的 Image 显示的图片。
时间:2015-05-07 08:41:18
收藏:0
阅读:2706
记录一下这个问题。
原文地址:http://tieba.baidu.com/p/3561719701
object obj = Resources.Load(资源名, typeof(Sprite)); Sprite sp = obj as Sprite; img.sprite = sp;
评论(0)