大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)
...s里面 value && (value._addReference(this._referenceCount)); =》 if(value && value._addReference){ value._addReference(this._referenceCount) } 又报:this._bitmap._addReference is not a function 同上依次改之。 不报错之后,开发域任然不显示。 使...
来源: Laya_社区 发布时间: 20181222
...应该如何写呢? public static Test<T>(byte:Laya.Byte):T { if(byte.length == 0) return default T; } 请问一下这种应该如何返回个默认的T呢? 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180410
...rawToCanvas后面是绘制大小跟位置信息,大概代码就是这样 if(Browser.onMiniGame) { try { var htmlCanvas:HTMLCanvas= box.drawToCanvas(1280,720,0,0); var canvas:Object = htmlCanvas.getCanvas(); var imagePath:String;// = canvas.toTempFilePathSync(); canvas.toTempFilePath({ x: 0, y: 0, ...
来源: Laya_社区 发布时间: 20180830
...09-08 09:10 浏览: 1141 关注: 2 人 157*****593 • 2020-09-08 09:21 把if(_scene._getBit)这句删了,我上面那个图那两句话前面有个加号和减号,代表增加和删除 titi • 2020-09-08 09:48 完美解决 谢谢大佬 titi • 2020-09-08 09:09 我不知道是不是我改错...
来源: Laya_社区 发布时间: 20200907
...o export Game unity 3d to instant game i need any video or tutorial please if you have service paid no problem I need help Thanks 2020-06-25 0 0 分享 微博 QZONE 微信 wangtao.ETO 赞同来自: windows需要以管理员权限启动UnityHub就可以了 2022-10-09 0 0 分享 微博 QZONE 微信 La...
来源: Laya_社区 发布时间: 20190809
...可以自己手工测试一下,在调用 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