通过管理端来随时更换plist文件和对应的Png文件,plist和Png文件会上传到七牛
那么,在cocos creator里,怎么把从七牛获取的plist和png文件关联起来,并正常解析。
通过管理端来随时更换plist文件和对应的Png文件,plist和Png文件会上传到七牛
那么,在cocos creator里,怎么把从七牛获取的plist和png文件关联起来,并正常解析。
手动解析plist文件 获取碎图的位置大小等信息 用 spriteFrame.setTexture 通过 Texture,rect,rotated,offset 和 originalSize 设置 SpriteFrame。