大约有 698 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0047 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...函数因为必须先执行super();才能写其他代码 super(); this.once("onViewCreated",this,this.loader_over); 但在执行 super()时 判断JSON已经加载完毕,直接就触发onViewCreated但这时候还没有监听事件 导致后面监听onViewCreated永远也 触发不了 2020-01-...
来源: Laya_社区 发布时间: 20190718
...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
...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
...因为他不支持数组那些深度操作的特殊方法,比如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
...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
...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
... 在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
...dChild(_p2); } else { _p.removeSelf(); _p2.removeSelf(); } c++; Laya.timer.once(2000, this, ShowHide); } 【native2.0中】stage上加几个平级container,然后再同一container上加两个ui,移除舞台后再加上必然无法显示 网页中是正常的 注意:直接加到舞台sta...
来源: Laya_社区 发布时间: 20181025
如何动态添加Animator和加载AnimationClip并播放 1,不在unity中创建和导出Animator和controler,只导出lm和lsani 2,如何在h5中动态加载lm和lsani并播放动画? 下面的代码实现不了: var layaScene:Sprite3D = scene.addChild(Sprite3D.load("res/LayaScene/layaSc...
来源: Laya_社区 发布时间: 20180208
...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