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

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

21. Handler.create() 方法第四个参数once默认值的API为false,而引擎得实际默认值为true [ 81%]

Handler.create() 方法第四个参数once默认值的API为false,而引擎得实际默认值为true 如题 附件 : --> 2019-03-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 kylin 赞同来自: 检查了...

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

22. Laya.Scene.open方法中的complete的handler在IDE中调试正常,但在微信小游戏中不返回,请问是什么原因。 [ 81%]

Laya.Scene.open方法中的complete的handler在IDE中调试正常,但在微信小游戏中不返回,请问是什么原因。 Laya.Scene.open方法中的complete的handler在IDE中调试正常,但在微信小游戏中不返回,请问是什么原因。 2019-02-20 添加评论 免费帖 --> ...

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

23. ios苹果手机,同时播放声音出现巨大杂音 [ 80%]

...        Laya.SoundManager.playMusic("music/d1.mp3", 1, new Laya.Handler(this, this.onComplete2));         this.d2m  = Laya.SoundManager;         this.d2m.playSound("music/bg.mp3", 0, new Laya.Handler(this, this.onComplete2));     }      onComplete2() {  ...

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

24. IOs使用手动删除本地资源再次进去加载问题 [ 80%]

...rogress$bar.png", type : Laya.Loader.IMAGE}, ] Laya.loader.load(res_array, Handler.create(null, onLoaded)); } function onLoaded() { var res_array = [ {url : "res/atlas/comp.atlas", type : Laya.Loader.ATLAS}, ] Laya.loader.load(res_array, Handler.create(null, onLoaded2)); } function onLoaded2() { Lay...

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

25. tween 的 update 怎么是回调一次!!! [ 80%]

...aya.Tween.to(obGold, {value:__data.gold}, 1000, Laya.Ease.linearNone, Laya.Handler.create(this, function(){                 trace('obGold.value', obGold.value)             }), 0)             tweenGold.update = updateGoldHandler 写法没问题吧!!! 2019-05-20 添加评论 ...

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

26. 关于下拉列表的选择触发 [ 79%]

关于下拉列表的选择触发 this.small_map.selectHandler = new Laya.Handler(this, onSelect_small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map....

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

27. 分享 h5app后台挂机长时间切到前台卡顿的问题 [ 79%]

... 当切到前台时 定时器会补完所有的缺省调用 while (t >= handler.exeTime) { handler.exeTime += handler.delay; handler.run(false); } 在后台挂的时间越久 会短时间造成大量的更新 2020-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

28. laya.device.media.Media_API3.0 [ 78%]

...10 Returns Media Methods Static getMedia getMedia(options: any, onSuccess: Handler, onError: Handler): void Defined in laya/device/media/Media.ts:28 获取用户媒体。 Parameters options: any 简单的可选项可以使{ audio:true, video:true }表示同时捕捉两者。详情见https://develope...

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

29. Laya.loader.create中的progress回调好像不准确? [ 78%]

...,是一个模拟的进度值。。   progress的回调你用的是Laya.Handler.create吗?如果是的话里边的最后一个参数你是不是没有修改呢? 2018-03-21 0 9 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jinfawu 相...

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

30. Laya.Tween.to 有没有监听值的变化的方法? [ 78%]

...props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。          * @param   duration 花费的时间,单位毫秒。          * @param   ease 缓动类型,默认为匀速运动。  ...

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