• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 595 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0041 秒)

261. 如何自己做屏幕设配 [ 61%]

...竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 问题状态 最新活动: 2017-04-05 16:32 浏览: 1077 关注: 3 人

来源: Laya_社区 发布时间: 20170405

262. QQ小游戏demo跑不起来 MiniFileMgr.fs.readFile无回调 [ 60%]

..., "version2.json", "fileconfig.json"];     for(var i = 0; i < files.length; i++) {         let fileUrl = files;         console.log("加载文件测试", i, fileUrl);         MiniFileMgr.readFile(fileUrl, "utf8", Laya.Handler.create(this, function() {         ...

来源: Laya_社区 发布时间: 20200111

263. 关于socket的output.writeByte [ 60%]

...ut.writeByte>";             for (var i:int = 0; i < message.length; ++i)             {                 output.writeByte(message.charCodeAt(i));             }             socket.flush(); 这段代码没有把消息发给服务端。 用socket的...

来源: Laya_社区 发布时间: 20170526

264. Laya.timer可能的内存泄漏 [ 60%]

...大量的值为null的项目,得不到清理。 Object.keys(Laya.timer).length 会不断增长。 2018-06-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 想多了。 2018-06-25 0 0 ...

来源: Laya_社区 发布时间: 20180623

265. laya.d3.math.Vector3_API3.0 [ 60%]

...tX ONE UnitX UnitY UnitZ Up ZERO Methods clone cloneTo cross dot fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale ...

来源: Laya3.0_api 发布时间: 20231102

266. 我想让背景图占满整个屏幕 [ 60%]

...竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 微信小游戏屏幕适配 问题状态 最新活动: 2019-01-15 19:57 浏览: 814 关注: 2 人

来源: Laya_社区 发布时间: 20190109

267. laya2.0怎么做到如下操作? [ 60%]

...mport ** from ** 问题 无法对载入的材质操作。sharedMaterials的length为0 laya2.0 做的第一个小游戏发布上线,多多指教 问题状态 最新活动: 2019-03-08 14:54 浏览: 893 关注: 1 人

来源: Laya_社区 发布时间: 20190308

268. 如何通过四元数旋转 [ 60%]

...rotation.eulerAngles.y,transform.rotation.eulerAngles.z)) *new Vector3(25f*length,0,0), ForceMode.VelocityChange); 大概的须求是2d场景,旋转鼠标,炮台也跟着旋转,点击鼠标能够发射,射击方向跟炮台一致 2020-03-24 添加评论 悬赏 --> 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20200324

269. 2D线渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...hedModle) 启用此属性后,线段会变为虚线。 虚线长度(dashedLength) 启用虚线模式后可以设置的属性,此属性决定了虚线每一个循环的长度。 虚线间隔的百分比(dashedPercent) 虚线中非空白区域占线段长度的百分比。 虚线偏移量(dashedOff...

来源: Laya3.0_文档 发布时间: 20250214

270. panel问题 [ 60%]

...可以改成如下几句 let newListener=this._events[type]; if (listeners.length === 0 && this._events && newListener&& !newListener.run)     delete this._events[type]; 2021-12-29 2 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

来源: Laya_社区 发布时间: 20211227