大约有 734 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0038 秒)
...===================================================== 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
...,应该怎么写?? 我想动态改自定义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
加载时间轴动画报错 代码如下: 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
...(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
...可能出现不一致的编译错误 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 如何导入3D模型,以及展示与编辑它 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? 问题状态 最新活动: 2017...
来源: Laya_社区 发布时间: 20170407
构建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
...个文件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
... = 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
...回复 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
...使后面修改回去,也不行。怎么解决? 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