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

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

1. 缓动画Bug,给了回调函数之后是直接过时间后执行回调函数,但是之前的缓动画不会执行 [ 100%]

缓动画Bug,给了回调函数之后是直接过时间后执行回调函数,但是之前的缓动画不会执行 this.bir.x = 0; this.bir.y = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change));     这里面会直接过两秒执行this....

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

2. 缓动在未执行完成就提前触发回调函数 [ 99%]

缓动在未执行完成就提前触发回调函数 2017-08-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 182*****369 赞同来自: 大概执行到80%的程度就会触发回调函数 2017-08-02 0 0 分享 ...

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

3. 执行回调函数时报is not a function [ 99%]

执行回调函数时报is not a function 解压缩laya_game.rar,双击打开laya_game\hgameStarter\bin\h5目录下的index.html,待浏览器打开后,打开开发者工具查看:    Main.as里把getRolesBack函数作为回调函数传给SocketProxy.as setRoleCall,但是回调回来执...

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

4. 2.0中Tween为什么是先执行了complete回调函数,然后在执行tween函数本身。 [ 99%]

2.0中Tween为什么是先执行了complete回调函数,然后在执行tween函数本身。 需要一个动画效果。改变物体位移,然后将它放置到新的父节点中 但是现在的效果是,先执行了complete,把物体放置到父节点中,然后才走了tween的动画效...

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

5. Laya.loader.create 进度回调函数执行两次!!! [ 98%]

Laya.loader.create 进度回调函数执行两次!!! Laya.loader.create("Main/SMain.ls",Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); }   输出...

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

6. 小米rpk加载资源的没有执行回调函数 [ 97%]

小米rpk加载资源的没有执行回调函数 打包成小米rpk资源路没错,但是加载资源的时候回调函数没有执行(打了日志才知道的),导致一直在读进度条,游戏进不去,本地加载的时候就没有问题。引擎版本1.8.5 2019-12-31 添加评论 ...

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

7. Laya.loader.create 进度回调函数执行两次 [ 97%]

Laya.loader.create 进度回调函数执行两次 Laya.loader.create(["Main/SMain.ls","Role/Role.lh"],Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%");...

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

8. laya.utils.Timer [ 97%]

...imer  callLater(caller:*, method:Function, args:Array = null):void 延迟执行。 Timer  clear(caller:*, method:Function):void 清理定时器。 Timer  clearAll(caller:*):void 清理对象身上的所有定时器。 Timer  frameLoop(delay:int, caller:*, method:Function, args:Array = null, ...

来源: laya_api 发布时间: 20170929

9. laya.utils.Timer [ 97%]

...imer  callLater(caller:*, method:Function, args:Array = null):void 延迟执行。 Timer  clear(caller:*, method:Function):void 清理定时器。 Timer  clearAll(caller:*):void 清理对象身上的所有定时器。 Timer  frameLoop(delay:int, caller:*, method:Function, args:Array = null, ...

来源: Laya2.0_api 发布时间: 20190513

10. laya.utils.Timer_API3.0 [ 96%]

...od: Function, args?: any[]): void Defined in laya/utils/Timer.ts:278 延迟执行。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear clear(caller: any, method: Function): void Defined in laya/util...

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