大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
...dMem() 安卓包中 定时运行报错 Laya工程1.7.10beta,setInterval("console.log(conch.config.getUsedMem())", 1) 安卓包中报错 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自...
来源: Laya_社区 发布时间: 20180322
...Controller.getVerticalVel() !== 0) // 控制台输出角色的垂直速度 console.log("垂直速度", this.characterController.getVerticalVel()); } } 5、关联文档 《3D物理系统》 Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{...
来源: Laya3.0_文档 发布时间: 20251010
...s.create(); this.scene3d.addChild(sp3); }); }) } printProgress(res: any) { console.log("加载进度" + JSON.stringify(res)); } } 下面重点介绍一下printProgress打印的内容,在微信开发者工具打开并编译我们导出的项目后,会打印如下日志: (图4-2) wx.loadSubp...
来源: Laya3.0_文档 发布时间: 20251010
...type var _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //背景 this.bg = new Background(); this.addChild(this.bg); //地板 this.mapFloor = new MapFloor(); this.addChild(this.mapFloor); //飞行能量条 this.flyEnergy = new Hp(Hp.HP_TYPE_ENERGY); th...
来源: Laya_社区 发布时间: 20160803
...//给 shape 对象添加点击事件侦听。 } function onClickSprite() { console.log("点击 sprite 对象。"); sprite.rotation += 5;//旋转 sprite 对象。 } function onClickShape() { console.log("点击 shape 对象。"); shape.rotation += 5;//旋转 shape 对象。 } example import Sprite = ...
来源: Laya3.0_api 发布时间: 20231115
...(){ function Client() { } Client.prototype.start = function() { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); ``` 下面我们简单的讲解下这两段代码。 ` var script:Object = Browser.document.createElement("script");`创建一个scrip...
来源: Laya2.0_文档 发布时间: 20210715
... { function Client() { } Client.prototype.start = function () { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); 下面我们简单的讲解下这两段代码。 var script:any = Laya.Browser.document.createElement("script");创建一个script标...
来源: Laya3.0_文档 发布时间: 20251010
...in); } protected AroundByMobileInput(): void { if (this.TouchCount == 1) { console.log(this.targetAngles); this.targetAngles.y -= this.GetAxisX * this.mouseSettings.pointerSensitivity; this.targetAngles.x += this.GetAxisY * this.mouseSettings.pointerSensitivity; //Range. this.targetAngles.y = this.C...
来源: Laya_社区 发布时间: 20170714
...timer.loop(300, null, function () { console.log('8: ' + self.particleSystem.aliveParticleCount); }); } } } } 执行结果一直为0, 请问这是什么问题? 是否有更详细一些...
来源: Laya_社区 发布时间: 20170605
...t: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let points: any = [] paths.forEach((point...
来源: Laya3.0_文档 发布时间: 20251010