大约有 2 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0017 秒)
...代码为: const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = ne...
来源: Laya3.0_文档 发布时间: 20241014
...era.transform.rotate(this._rotation, true, false); moveCamera.addComponent(CameraMoveScript); //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.p...
来源: Laya3.0_文档 发布时间: 20230303