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

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

341. laya 2.0 bug onEnable 分离模式节点没有创建 [ 53%]

...函数因为必须先执行super();才能写其他代码  super();  this.once("onViewCreated",this,this.loader_over); 但在执行 super()时 判断JSON已经加载完毕,直接就触发onViewCreated但这时候还没有监听事件 导致后面监听onViewCreated永远也 触发不了 2020-01-...

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

342. 手机闪退,提示:JCTexture::freeGLResource thread error [ 53%]

...366 16366 E libEGL : call to OpenGL ES API with no current context (logged once per thread) 21502-16 22:30:46.718 16366 16366 W LayaBox : JCTexture::freeGLResource thread error 21602-16 22:30:46.719 16366 16366 I chatty : uid=10164() identical 4 lines 21702-16 22:30:46.719 16366 16366 W LayaBox : JC...

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

343. laya.d3.core.material.EffectMaterial_API3.0 [ 53%]

...ne hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShaderData setShaderDataByIndex setShade...

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

344. args.slice is not a function [ 53%]

...因为他不支持数组那些深度操作的特殊方法,比如slice、concat等)。所以在AS3里你有用到args类似数组的特殊方法,须要手动把args的参数类型改成Array。 原生例子:private var arr:Array = [1,2,3,4,5,6]; public function ArgsDemo() { funArgs(arr); } public fun...

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

345. laya.d3.core.trail.TrailMaterial_API3.0 [ 53%]

...ne hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShaderData setShaderDataByIndex setShade...

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

346. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 53%]

...ne hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShaderData setShaderDataByIndex setShade...

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

347. Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 [ 52%]

... 在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready"上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试 2019-04-10 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被...

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

348. LayaNative2.0 UI移除舞台,再添加必然无法显示 [ 52%]

...dChild(_p2); } else { _p.removeSelf(); _p2.removeSelf(); } c++; Laya.timer.once(2000, this, ShowHide); }   【native2.0中】stage上加几个平级container,然后再同一container上加两个ui,移除舞台后再加上必然无法显示 网页中是正常的   注意:直接加到舞台sta...

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

349. 如何动态添加Animator和加载AnimationClip并播放 [ 52%]

如何动态添加Animator和加载AnimationClip并播放 1,不在unity中创建和导出Animator和controler,只导出lm和lsani 2,如何在h5中动态加载lm和lsani并播放动画? 下面的代码实现不了: var layaScene:Sprite3D = scene.addChild(Sprite3D.load("res/LayaScene/layaSc...

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

350. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 52%]

...ne hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShaderData setShaderDataByIndex setShade...

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