Hi guys,
I was just porting my game to v3 alpha (written in JS on cocos2d-x JSB)
And I noticed that getWritablePath is gone from it’s FileUtils class.
Is there a renamed method / alternative for this now?
This piece of code:
fu = cc.FileUtils.getInstance(); cc.log(fu); this.wp = fu.getWritablePath();
Works on cocos2d-x jsb 2.x
Gives this error on v3 alpha:
cocos2d: JS: [object FileUtils] cocos2d: JS: TypeError: fu.getWritablePath is not a function