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

大约有 213 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)

191. LAYABOX游戏实时语音之APP版本 [ 53%]

...LoginView extends ui.LoginUI { constructor() { super(); this.login.on(Laya.Event.CLICK, this, this.Loginyim); this.joinroom.on(Laya.Event.CLICK, this, this.JoinRoom); this.RecordAudio.on(Laya.Event.MOUSE_DOWN, this, this.StartRecordAudio); this.RecordAudio.on(Laya.Event.MOUSE_UP, this, this.StopReco...

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

192. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 53%]

...t - 100 * Laya.Browser.pixelRatio);         changeActionButton.on(Laya.Event.CLICK, this, function () {             if (++curStateIndex % 2 == 1) {                 debugModel = true;                 changeActionButton.label = "网格模式";             }         ...

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

193. SCALE_FIXED_WIDTH适配屏幕的问题 [ 52%]

...机制、时间和其他一些Timer相关的问题 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2018-12-14 12:04 浏览: 1969 关注: 3 人 boobo • 2018-12-16 13:34 是h5,微信浏览器 boobo • 2018-12-12 12:37 没有用噢,主要是竖屏与横屏直接切...

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

194. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 52%]

...生flash下,如果要给List组件的每一条列表都侦听一个MouseEvent.CLICK事件,最简单的方法就是在for循环下对按钮名称进行遍历,以此来添加鼠标事件并根据按钮名称来进行区分。   那么Morn下有更简单的实现方式吗?(*^__^*) 嘻嘻……...

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

195. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 51%]

....json"  at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) killed: false, code: 1, signal: null, cmd: 'D:...

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

196. laya.ani.swf.MovieClip_API3.0 [ 50%]

...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getC...

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

197. 时间轴动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...侧属性面板中设置动画事件属性,如图9-1所示 (图9-1) Event Name:在脚本中调用的事件方法名 Params:在脚本中调用事件方式时的传参(字符串),可以设置多个 如图9-2所示,例如对此事件添加一个 “event1” 方法名,添加两个...

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

198. websocket 中 protobuf 数据的发送与接收的具体方法是怎样的? [ 49%]

...题,服务端收不到数据吗?客户端接收数据的方法是监听event.message事件,在事件触发后,你读取socket实例.output的数据即可! 2017-02-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Victor 相关...

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

199. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 49%]

...gory=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_s...

来源: Laya2.0_文档 发布时间: 20210715

200. box2d引擎报错问题 [ 48%]

...ation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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