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

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

371. [临时解决]bug?加载sk问题 [ 82%]

...dragon.sk上一个动画, !!!运行时,报错,说_template为null。 如果不调用动画,只是监听事件,没有错误 于是考虑,应该是加载sk完成前,就调用动画导致 因此,在最开始用Laya.loader.Load(["drgon.sk"]......)这样的方式预加载 !!!...

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

372. laya.ui.Tab [ 82%]

...项对象的索引id。 UIGroup callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node ...

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

373. laya.d3.component.AttachPoint [ 82%]

...个新的 AttachPoint 实例。 AttachPoint event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定...

来源: laya_api 发布时间: 20170929

374. laya.ui.UIComponent [ 82%]

...addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...

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

375. laya.media.SoundManager_API3.0 [ 82%]

... = 0 循环次数,0表示无限循环。 Default value complete: Handler = null 声音播放完成回调,complete 结果参数 true: 播放完成, false/undefined :stop触发的complete。 Default value startTime: number = 0 声音播放起始时间。 Returns SoundChannel SoundChannel对象,通...

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

376. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 82%]

...ya.Handler.create(this,onAssetLoaded), Laya.Handler.create(this,onLoading, null, false)); ``` 或者是: 1. `Laya.loader.load(urls, Laya.Handler.create(this,onAssetLoaded), new Laya.Handler(this, onLoading));` **Tips**:这里不能混淆的是,`Handler()`是没有使用对象池的方式,`Ha...

来源: Laya2.0_文档 发布时间: 20210715

377. [laya2.4] 关于代码压缩后let变量重复定义问题 [ 82%]

...变量都出问题了)function loadProgress(item, value) { if (progress != null) { item.progress = value; var num = 0; for (var j = 0; j < items.length; j++) { var item1 = items[j]; if (item1) { let prog = item1.progress == undefined ? 0 : item1.progress; num += item1.size == undefined ? 0 : item...

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

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

...动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 如何定义动画播放过某帧后的回调函数 Laya.Handler.create 回调 Laya.loader.create 不会反馈失败状态跟描述不符合 调用 Laya.MiniAdpter.downLoadFile缓存...

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

379. laya.ui.RadioGroup [ 82%]

...项对象的索引id。 UIGroup callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node ...

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

380. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 82%]

...bate5.1 tiled版本:2019.02.10 调用getTileProperties返回结果一直为null,看了源码发现不管传入什么参数都会返回为null。 因为_tileProperties初始化的完成后就为{0:undefined}。     /**     *得到tile自定义属性     *@param index 地图块索引   ...

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