Commit 64a032ce authored by rockyl's avatar rockyl

隐藏私有属性

parent e9496958
...@@ -12,11 +12,10 @@ import Transform from "../base/Transform"; ...@@ -12,11 +12,10 @@ 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();
targetPosition: Vector2D;
maxScale = 1.2; maxScale = 1.2;
private targetPosition: Vector2D;
private followPosition: Vector2D; private followPosition: Vector2D;
private stageSize; private stageSize;
onCreate() { onCreate() {
......
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