记录一下这个问题。
原文地址:http://tieba.baidu.com/p/3561719701
object obj = Resources.Load(资源名, typeof(Sprite)); Sprite sp = obj as Sprite; img.sprite = sp;
记录一下这个问题。
原文地址:http://tieba.baidu.com/p/3561719701
object obj = Resources.Load(资源名, typeof(Sprite)); Sprite sp = obj as Sprite; img.sprite = sp;