标签:blog div ar res log har ui ad
UI2DSprite roleSprite=GetComponent<UI2DSprite >("roleSprite"); var roleSprites = Resources.LoadAll<Sprite>("sprite的路径"); roleSprite.sprite2D = roleSprites[1];//1是某一帧的索引
动态修改NGUI UI2DSprite,布布扣,bubuko.com
标签:blog div ar res log har ui ad
原文地址:http://www.cnblogs.com/webjs/p/3876119.html