找啦一圈没找到替代的API
let texture = cc.textureCache.getTextureForKey(skeleton.skeletonData.textures[0] );
texture.generateMipmap();
texture.setTexParameters( GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE )
Simulator: JS: [ERROR]: ‘cc.textureCache’ is removed
请大神解答下
