Commit a22a4702 authored by rockyl's avatar rockyl

隐藏私有属性

parent 64a032ce
...@@ -11,7 +11,7 @@ import Transform from "../base/Transform"; ...@@ -11,7 +11,7 @@ import Transform from "../base/Transform";
*/ */
export default class CameraController extends ScillaComponent { export default class CameraController extends ScillaComponent {
target: Entity; target: Entity;
viewportAnchor: Vector2D = createVector2D(); viewportAnchor: Vector2D = createVector2D(0.5, 0.5);
maxScale = 1.2; maxScale = 1.2;
private targetPosition: Vector2D; private targetPosition: Vector2D;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment