新增sceneTransition 用于场景过渡

This commit is contained in:
YHH
2020-06-21 10:27:15 +08:00
parent 60646edd6b
commit 3d9730d956
22 changed files with 2292 additions and 226 deletions

View File

@@ -27,7 +27,7 @@ class PlayerController extends Component {
return;
if (this.down){
let camera = SceneManager.getActiveScene().camera;
let camera = SceneManager.scene.camera;
let worldVec = camera.screenToWorldPoint(this.touchPoint);
this.mover.move(Input.touchPositionDelta);
console.log(Input.touchPositionDelta);