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

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

21. 在加载多个资源时候,加载进度异常 [ 85%]

..."res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"],   Laya.Handler.create(this, function(){ }),  Laya.Handler.create(this, function(e){    console.log(e) } , Laya.Loader.ATLAS);   此时进度e值只有一个数0.41 ,不会从0到1,这是什么原因? 2018-01-01 添加...

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

22. List表单renderHandler问题 [ 85%]

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

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

23. laya.utils.Tween.to第一个参数可以是个label? [ 84%]

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

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

24. 定时器 · LayaAir3.0文档 · LAYABOX [ 83%]

...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_文档 发布时间: 20230724

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

...数执行两次 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

26. Laya.loader.createprogress回调好像不准确? [ 83%]

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

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

27. Laya.Tween.to 有没有监听值变化方法? [ 83%]

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

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

28. Laya.Handler为什么注册不成功? [ 83%]

Laya.Handler为什么注册不成功? this.scrollView.mouseHandler = Laya.Handler.create(this,this.onScrollMouse) this.scrollView.mouseHandler = new Laya.Handler(this, this.onScrollMouse);我在scrollView中有个mouseHandlerLaya.Handler变量,想直接注册到这个变量上,但是两种...

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

29. laya.net.LoaderManager [ 83%]

...载内容全部停止加载。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

30. 事件管理 · LayaAir3.0文档 · LAYABOX [ 82%]

...型 Laya.Event2.2 事件派发 Laya.EventDispatcher2.3 事件处理 Laya.Handler3. 自定义事件事件管理 1. 认识事件 1.1 什么是事件 事件Event指是由系统事先设定、能被对象识别和响应动作,事件是指对象对于外部动作响应,当对方发生...

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