大约有 12 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0024 秒)
...Right = 852 - 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; } _proto.onLoop...
来源: Laya_社区 发布时间: 20160801
...ya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖即可 */ onUpdate(): void { if (!this.target || !this.camera) return; this.target.transform.position.vsub(this.curpos, this.delatpos);...
来源: Laya3.0_文档 发布时间: 20231214