Hi, wonder if someone can help me with a problem.
i upgraded a game from cocos creator 1.9 to 2.3 and I’m having a lot of issues with the camera. when i execute it crashes and shows errors sucha as this
also, this piece of code displays an error
…
onEnable: function () {
cc.director.getPhysicsManager().attachDebugDrawToCamera(this.Camera);
},
onDisable: function () {
cc.director.getPhysicsManager().detachDebugDrawFromCamera(this.Camera);
},
…
this is the error.
thanks in advanced