大约有 1,779 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
... { 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
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 为什么有的图片打包,有的图片不打包? 如图 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? Adobe Flash Builder...
来源: Laya_社区 发布时间: 20181031
...面板Hierarchy Ctrl + 4 项目资源面板Project Ctrl + 5 控制台面板Console Ctrl + 6 时间轴面板Timeline Ctrl + 7 1.2 文件与节点的通用操作 1.2.1 重命名:F2 无论是节点的名字还是文件与文件夹,使用快捷键F2即可可进入重命名模式 如果是鼠标操...
来源: 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
...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_社区 发布时间: 20190224
...,reject)=>{ downloadBigFile(url, localfile, (total, now, speed) => { console.log(`downloading:${Math.floor((now / total) * 100)}`) return false;0 }, (curlret, httpret) => { if (curlret != 0 || httpret < 200 || httpret >= 300) { resolve(null); } else { resolve(localfile); } }, 10, 1000...
来源: Laya3.0_文档 发布时间: 20251010
...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var colorPicket = new laya.ui.ColorPicker();//创建一个 ColorPicker 类的实例对象 colorPicket 。 colorPicket.skin = "resource/ui/color.png";//设置 colorPicket 的皮肤。 colo...
来源: Laya3.0_api 发布时间: 20231115
...0ms(毫秒)后,执行函数changeValue。 } function changeValue() { console.log("改变进度条的进度值。"); progressBar.value = 0.6; } function onChange(value) { console.log("进度发生改变: value=" ,value); } example import ProgressBar = laya.ui.ProgressBar; import Handler = lay...
来源: Laya3.0_api 发布时间: 20231115