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

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

281. 为什么laya中的shader效果没用? [ 52%]

为什么laya中的shader效果没用? Shader error in 'LayaAir3D/Mesh/PBR(Specular)': undeclared identifier 'UnityDecodeCubeShadowDepth' at /Program Files/Unity/Editor/Data/CGIncludes/UnityShadowLibrary.cginc(98) (on d3d11) Compiling Vertex program with POINT SHADOWS_CUBE SHADOWS_SOFT EnableRefl...

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

282. Cannot read property 'call' of undefined [ 52%]

...台时,抛出了异常,求助该怎么解决   详细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-A...

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

283. 运行器在手机上一打开就崩溃 [ 52%]

...3400 07-22 15:28:49.398: E/AndroidRuntime(13400): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/impl/client/DefaultHttpClient; 07-22 15:28:49.398: E/AndroidRuntime(13400): at layaair.autoupdateversion.NetHelper.httpStringGet(NetHelper.java:28) 07-22 15:28:49.398: E/AndroidRu...

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

284. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 52%]

....getMedia(options, Handler.create(this, onSuccess), Handler.create(this, onError)); } } private function showMessage():void { var text:Text = new Text(); Laya.stage.addChild(text); text.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.al...

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

285. Cannot read property 'call' of undefined [ 52%]

...Scene并添加到舞台后,出现如下异常:   详细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson...

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

286. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...404 Not Found” 表示请求的资源不存在;“500 Internal Server Error” 表示服务器内部出现错误。 响应头部包含了关于响应的各种信息,如内容类型(Content - Type)、内容长度(Content - Length)、服务器软件(Server)等。例如,“Content - ...

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

287. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...s,Laya.Handler.create(this,this.onSuccess),Laya.Handler.create(this,this.onError)); } } private showMessage():void{ var tex:Laya.Text = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "...

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

288. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 52%]

...emp.js echo console.log(str)>>compile_temp.js echo if(str.match(/^\s*Error\:/)){app.exit(1);return;}>>compile_temp.js echo let isTasksComplete = str.match(/^laya\.ide\.complete$/m)>>compile_temp.js echo if (isTasksComplete){>>compile_temp.js echo app.exit(0)}>>compile_t...

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

289. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 51%]

...sionCode:1 PreInstalled:No Foreground:No Pid:19883 Uid:20010080 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get SourceMap info, dump raw stack: at func_main_0 (entry|entry|1.0.0|src/main/ets/MainAbility/MainAbility.ts:9:47) hdc ...

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

290. HTMLIframeElement 使用出错?请大神指点 [ 51%]

...); iHtml.href="http://www.baidu.com"; 一启动运行就现以下错误  Error processing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables....

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