[0]关于vector2

centerOfCircle:Laya.Vector2;
    constructor() { super(); }
   
    onEnable(): void {
      //  GameData.circleRing=this.owner.getChildByName("circleRing") as Laya.Sprite;
    }
   
    onStart(): void {
        this.centerOfCircle=new Laya.Vector2(2,2); 
       // console.log(this.centerOfCircle);
    }
为什么这段报错了啊。。。Laya是怎么赋值vector2的?????
已邀请:

Yan

赞同来自:

请问报的什么错?

要回复问题请先

商务合作
商务合作