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

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

521. 我照的列子做,Protobuf,结果报错! [ 68%]

...===================================================== class Game{    private ProtoBuf:any = Browser.window.dcodeIO.ProtoBuf;     ... }     err code: ============================================================ TypeError: Cannot read property 'ProtoBuf' of undefined at new Game (file:///D:/Proj...

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

522. 我想动态改自定义shader里的值,应该怎么写?? [ 68%]

...,应该怎么写?? 我想动态改自定义shader里的值, CustomMaterial.js应该怎么写??我这样写set的时候报错 Uncaught TypeError: this._setValue is not a function at CustomMaterial.setAlphaTestValue (CustomMaterial.js:34) at LayaAir3D.js:94CustomMaterial.setAlphaTestValue ...

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

523. 加载时间轴动画报错 [ 68%]

加载时间轴动画报错 代码如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Can...

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

524. Cannot enlarge memory arrays. [ 68%]

...(2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 laya.phy...

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

525. 3d模型导出成lm,是否只有windows版本的fbxtools?如果是,能否先将3d模型导入unity,然后通过unity插件导出 [ 68%]

...可能出现不一致的编译错误 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 如何导入3D模型,以及展示与编辑它 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? 问题状态 最新活动: 2017...

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

526. 构建android studio项目run debug时报错 [ 68%]

构建android studio项目run debug时报错 nativeLibraryDirectories=[/data/app/com.kx.game-2/lib/x86_64, /system/lib64, /vendor/lib64]]] couldn't find "liblayaair.so" at java.lang.Runtime.loadLibrary0(Runtime.java:984) at java.lang.System.loadLibrary(System.java:1530)   找不到 liblayaair.so...

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

527. 一个很奇怪的问题,不知道其他同学遇到没有 [ 68%]

...个文件common.ts中定义的类: class common{ constructor(){ } public static num : number = 1000000; } 然后启动调试,居然报了这个错:     Uncaught ReferenceError: common is not defined     at new main (main.ts:4)     at main.ts:11   我试了很多次,都是这样,哪位大神...

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

528. 新手的伤,ReferenceError: CameraMoveScript is not defined [ 68%]

... = new Laya.Vector3(0, 5, 23); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), true, false); //设置摄像机视野范围(角度) camera.fieldOfView = 35; //设置背景颜色 camera.clearColor = new Laya.Vector4(0, 0, 0.6, 1); //加入摄像机移动控制脚本 ca...

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

529. LayaAir3D UnityPlugin 1.7.16 [ 67%]

...回复 strive 赞同来自: 这是跑错的异常: Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataManager:sa...

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

530. [LayaAir3]我修改了这个启动场景,从Loading——>register之后,就导致报这个错误,即使后面修改回去,也不行。怎么解决? [ 67%]

...使后面修改回去,也不行。怎么解决?   INDEX:bundle.js No matching export in "src/scence/uiDemo/registerRT.ts" for import "main"  [Ln 96, Col 49] at /D:/Laya3IDE/LayaAirIDE/resources/app.asar/game.js:2编译失败 at /D:/Laya3IDE/LayaAirIDE/resources/app.asar/game.js:2 附件 : --> ...

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