合并camera
This commit is contained in:
@@ -28,7 +28,6 @@ class PlayerController extends Component {
|
||||
|
||||
if (this.down){
|
||||
let camera = SceneManager.scene.camera;
|
||||
let worldVec = camera.screenToWorldPoint(this.touchPoint);
|
||||
this.mover.move(Input.touchPositionDelta);
|
||||
console.log(Input.touchPositionDelta);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user