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

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

61. 2d帧动画bug:编译运行会掉帧,编辑器不会掉帧,2.2.0版本以上都有这个问题 [ 80%]

...E 微信 133*****831 赞同来自: 解决方案: 修改laya.core.js构造函数条件判断 if (FrameAnimation._sortIndexFun === null) 改成 if (FrameAnimation._sortIndexFun == null)   代码如下: class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortI...

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

62. layabox打包apk后加载prefab之后使用pool创建prefab找不到create函数 [ 80%]

layabox打包apk后加载prefab之后使用pool创建prefab找不到create函数 layabox打包apk后加载prefab之后使用pool创建prefab找不到create函数。使用官方默认2D项目。直接加载默认prefab.加载成功后回调中,使用缓存池创建prefab后。找不到create函数...

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

63. Browser.window.open 手机浏览器打不开网页 [ 80%]

...: 3342 关注: 4 人 cuixueying • 2017-03-27 18:17 浏览器 window.open函数 非用户的主动点击触发,一定会被拦截掉,试想下,假如你打开一个网站,呼啦的乱弹广告这是用户不能容忍的,因此,浏览器本身就禁止了非用户主动点击是不能打...

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

64. layaair IDE 2.0.0-ts 构造函数被调用可是没执行Laya.init()语句 [ 80%]

layaair IDE 2.0.0-ts 构造函数被调用可是没执行Laya.init()语句 代码为官方示例,TiledMap_IsometricWorld为类名, TiledMap_IsometricWorld类在没有new的情况下发现构造函数已被调用:  可构造函数被调用,却没有执行里面的Laya.init()语句或是执...

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

65. laya.d3.core.light.SpotLight [ 80%]

...ht _getSortID(renderElement:IRenderable, material:BaseMaterial):int 排序函数。 Sprite3D _update(state:RenderState):void 更新 Sprite3D _updateConch(state:RenderState):void 更新 Sprite3D addChild(node:Node):Node[override] 添加子节点。 Sprite3D addChildAt(node:Node, index:int):Node[...

来源: laya_api 发布时间: 20170929

66. laya.d3.core.pixelLine.PixelLineSprite3D [ 80%]

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

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

67. 怎么停止正在运行Laya.timer.frameLoop的回调函数 [ 80%]

怎么停止正在运行Laya.timer.frameLoop的回调函数   附件 : --> 2018-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: …… Laya.timer.clear(this,animate); 2018-05-23 1 0...

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

68. laya.d3.core.BaseCamera [ 80%]

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

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

69. 分享:List相关(Item增删功能) [ 80%]

...能(UI不可显示) listP._list.array = arr;//数据赋值 //list渲染函数 listP._list.renderHandler=new Handler(this,onRender); //list鼠标事件触发函数 listP._list.mouseHandler = new Handler(this,onMouse); } //鼠标事件添加 private function onMouse(e:Event,index:int):void { //鼠...

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

70. Laya中有木有事件完成后触发某功能的函数[ 80%]

Laya中有木有事件完成后触发某功能的函数? 小弟laya新手,就又没有完成事件。 我看API有那种触发完成,但是有木有这种的   比如我运行一个方法 :  this.jieshui().onComplete() {   喝水; } 这种方法类型的 2019-05-29 添加评论 免费...

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