-
Creator 版本:2.2.2
-
目标平台: web
-
之前哪个版本是正常的 :2.2.0
-
出现概率:100%
-
额外线索:
onLoad () {
cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN,this.down,this);
console.log(">>>>>>"+this.camera.node.angle);
}
private oula:number = 0;
private down(event){
if(event.keyCode == 37){
this.oula +=1;
}
if(event.keyCode == 39){
this.oula -=1;
}
this.camera.node.x = this.oula;
this.camera.node.eulerAngles = cc.v3(0, this.oula, 0);
this.camera.node.angle = this.oula;
console.log(this.oula);
}
版本升级后,eulerAngles 和 angle 都无效 只有node生效