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

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

11. handler携带的参数回调函数里面怎么获取? [ 89%]

handler携带的参数回调函数里面怎么获取? handler携带的参数回调函数里面怎么获取? 2018-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load(...

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

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

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

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

13. 定时器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...null, coverBefore: boolean = true, jumpFrame: boolean = false): void { var handler: TimerHandler = this._create(false, true, delay, caller, method, args, coverBefore); if (handler) handler.jumpFrame = jumpFrame; } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./...

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

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

...数执行两次 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)+"%"); }   输出结果: 0.19186599730...

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

15. 如何给loadprogress传参数[ 86%]

如何给loadprogress传参数Laya.loader.load(myurl,Laya.Handler.create(this,this.loadComplete),Laya.Handler.create(this,this.loadprogress,["param"])); /** * 加载进度 */ private loadprogress(data:Array<any>):void{ console.log("加载进度: " + data);//加载进度: param }Laya.Handl...

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

16. laya.net.LoaderManager [ 85%]

...载的内容全部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, clas:Class = null, params:Array = null, priority:int = 1, cache:Boolean = true):* 根据clas类型创建一个未初始化资源的对象,随后进行异步加载,资源加载完成...

来源: laya_api 发布时间: 20170929

17. Laya.loader.load("", Laya.Handler.create(this, this.console)); [ 85%]

Laya.loader.load("", Laya.Handler.create(this, this.console)); 为什么会打印两次 附件 : --> 2018-12-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 加载两次 2019-05-11 0 0 ...

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

18. laya.net.LoaderManager [ 83%]

...载的内容全部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, type:String = null, constructParams:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始化资源的对象,随...

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

19. List表单renderHandler问题 [ 83%]

List表单renderHandler问题 通过Handler.create()方法创建的渲染函数中,只会在表单第一格渲染时调用一次,便再也不被调用。而通过new Handler()创建的则一切正常。请问这是为啥啊= = 2018-07-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

20. 问一下tween的一些参数怎么设置 [ 83%]

...ge { import laya.display.Sprite; import laya.utils.Ease; import laya.utils.Handler; import laya.utils.Tween; public class LayaAirDemo { private var sp:Sprite; private var num:int; public function LayaAirDemo() { Laya.init(550,400); sp=new Sprite(); sp.graphics.drawCircle(0,0,50,"#00FFFF"); Laya.stag...

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