大约有 272 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0045 秒)
...rty 'LESS' of null TypeError: Cannot read property 'LESS' of null at Function.value (http://127.0.0.1:43542/game/li ... :19438) at Object.value [as init] (http://127.0.0.1:43542/game/li ... 515524) at new Main (http://127.0.0.1:43542/game/js/bundle.js:267:90) LESS是LayaGL.insta...
来源: Laya_社区 发布时间: 20220616
...t(3); runtime运行报错! 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 本地调试加载本地图片都报...
来源: Laya_社区 发布时间: 20210607
..._proto.parseTsImport”,修改该函数体内容:__proto.parseTsImport=function(str){ var tStr = str.replace("import",""); str = 'from'; str = tStr.indexOf(str) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(str)[0]); this.importDic[tStr] = true; }当然也可以把CodeManager.pars...
来源: Laya_社区 发布时间: 20200727
...? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIncludingGravity.y; } 发布微信游戏...
来源: Laya_社区 发布时间: 20180322
...的。 /** *指定显示对象 *@param index */ __proto.showDisplayByIndex=function(index){ if (this._replaceDic[index]) index=this._replaceDic[index]; if (this.currSlotData && index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=index; this.currDisplayD...
来源: Laya_社区 发布时间: 20180106
...父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recover...
来源: Laya_社区 发布时间: 20190115
...ct(); as的使用方法 var xx:* = __JS__('io.connect()'); xx.on('connect',function():void{trace("dddd")}); piaobo80 • 2017-08-18 14:12 如果ts呢引入js后改怎样在ts中调用呢? Laya_XS • 2017-08-19 14:36 你需要弄个TS的接口提示文件,引入js在ts中是一样的 p...
来源: Laya_社区 发布时间: 20161214
...查看具体报错的功能。 ERROR:invalid property id interface:function(name,_super){ Laya.__package(name,{}); var ins=Laya.__internals; var a=ins[name]=ins[name] || {self:name}; if(_super) { var supers=_super.split(','); a.extend=[]; for(var i=0;i<supers.length;i++){ var nm=supers[i]...
来源: Laya_社区 发布时间: 20180806
...f30 <+76>: bl 0x1c1b38f5c ; std::__1::function<void (unsigned int, bool*)>::operator()(unsigned int, bool*) const 附件 : --> shell.zip 2024-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20240124
...:10) at Module.load (internal/modules/cjs/loader.js:812:32) at Function.Module._load (internal/modules/cjs/loader.js:724:14) at Module.require (internal/modules/cjs/loader.js:849:19) at require (internal/modules/cjs/helpers.js:74:18) exit:1 [qykings@ cq3]$ [qykings@ cq3]$ [...
来源: Laya_社区 发布时间: 20210420