renderTexture.begin is not a function
请问一下2.0的这个方法报错,模拟器报错。1.62正常
这个是截图用的
renderTexture.begin is not a function
请问一下2.0的这个方法报错,模拟器报错。1.62正常
这个是截图用的
请问解决了吗
我也遇到了怎么解决
renderTexture在2.x中以及没有begin方法了。
请参考:
https://github.com/cocos-creator/engine/blob/915ccf4e6e273f9003c14560ab1e48f9fa090132/cocos2d/core/assets/CCRenderTexture.js
截图功能请参考:摄像机截图