大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
...可以自己手工测试一下,在调用 setSlotSkin后,强行增加 if(window.conch)gc(); 这样就没有问题了。。gc的意思是强行调用JS的垃圾回收,但是一般不建议这样使用。 ----------------------------- 不过针对这个问题,我们引擎内部做了优化,...
来源: Laya_社区 发布时间: 20180329
...是设置横屏 const isMobile = Laya.Browser.onMobile; if (isMobile) { // 移动设备使用固定宽高比适配 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; ...
来源: Laya_社区 发布时间: 20251023
...; htmlCanvas.toBase64("image/png", 0.9, function(base64){ //trace(base64); if (!testTf){ __JS__('setWork(base64)'); } }); 2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 相关问题 两个对象new了一...
来源: Laya_社区 发布时间: 20181010
... var index:int = _clipNames.indexOf(playName); if (index !== -1) { return _clips[index]; } else { return null; } } /** ...
来源: Laya_社区 发布时间: 20180425
...MB. Browsers currently don't support allocating anything larger than that. If you are running on a 32-bit browser, a HEAP size of 512MB or 768MB is about the maximum that is possible. 参照一下ue4 的回答 2019-09-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20190905
...e.crossOrigin=""; line:17497 //this._source.crossOrigin=""; line:17480 if (src.indexOf("data:image")!=0)this._source.crossOrigin=""; 仅供参考,没有详细研究,不知道会不会引发其他bug,希望对大家有帮助 2017-02-04 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170204
...=201606151103:396: TypeError: Cannot read property 'indexOf' of undefined if (location.search != "" || location.hash.indexOf('?') > -1){//获取游戏启动地址的... 请问该如何处理呢? 附件 : --> 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180823
...astWords,hasLine,graphic,recList){ var lineY=lastWords.y+lastWords.height; if(hasLine) graphic.drawLine(startWord.x,lineY,lastWords.x+lastWords.width,lineY,this.color,1); var hitRec=HTMLHitRect.create(); hitRec.rec.setTo(startWord.x,lastWords.y,lastWords.x+lastWords.width-startWord.x,lastWords.heigh...
来源: Laya_社区 发布时间: 20190801
... set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") 附件 : --> laya-hammer.zip 2019-10-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20191028
... Todo 赞同来自: ......... 2017-01-12 0 0 分享 微博 QZONE 微信 jifm 赞同来自: 两个等号,你这是赋值 2017-01-12 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Todo 相关问题 两个对象new了一个相同的对象...
来源: Laya_社区 发布时间: 20170112