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

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

1. Event.UNDISPLAY 是在什么时候触发的? [ 100%]

Event.UNDISPLAY 是在什么时候触发的? 请问这个事件怎么用 2017-07-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cry_11858 赞同来自: 页面关闭消失的时候 2017-07-09 0 0 分享 微...

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

2. 如何能监听到TouchStart和TouchEnd事件 [ 69%]

...值。*/         static DISPLAY: string;         /** 定义 undisplay 事件对象的 type 属性值。*/         static UNDISPLAY: string;         /** 定义 error 事件对象的 type 属性值。*/         static ERROR: string;         /** 定义 complete...

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

3. 分享一个自己做的游戏公告功能,跑马灯效果 [ 59%]

... this._createHorn() this._createBg() this._createView() this.on(Laya.Event.UNDISPLAY,this,this.stop) this.on(Laya.Event.DISPLAY,this,this.play) } /** 创建滚动区域 */ _createView() { this.hornBox = new Box() let _rectangle = new Laya.Rectangle(0,0,this.defaultX,55) this.hornBox.scrollRect = _re...

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

4. 微信小游戏渲染开放域卡顿处理 [ 41%]

...vent.DISPLAY, this, this.onCreate);             this.once(Laya.Event.UNDISPLAY, this, this.onDestroy);         }         /**          * 加入场景          */         protected onCreate(): void {             var self = this;             // 纹理        ...

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

5. 微信小游戏加载资源问题 [ 31%]

...ya.stage.frameRate = data.rate || Laya.Stage.FRAME_FAST; break; case "undisplay": Laya.Laya.stage.frameRate = Laya.Stage.FRAME_SLEEP; break; } if (data['isLoad'] == "opendatacontext") { if (data.url) { MiniFileMgr.ziyuFileData[data.url] = data.atlasdata; MiniFileMgr.ziyuFileTextu...

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