大约有 73 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0022 秒)
...uch = this._scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ //获取触碰点的位置 this.lastPosition.x = touch._position.x; ...
来源: Laya_社区 发布时间: 20190531
...uch = this._scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ //获取触碰点的位置 this.lastPosition.x = touch._position.x; ...
来源: Laya_社区 发布时间: 20190605
...执行,此时所有节点和组件均已创建完毕,此方法只执行一次 * 此方法为虚方法,使用时重写覆盖即可 */ onAwake(): void { this.curpos = new Laya.Vector3(); } /** * 第一次执行update之前执行,只会执行一次 * 此方法为虚方法,使用时重写覆...
来源: Laya3.0_文档 发布时间: 20231214