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

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

191. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 43%]

...e"; else if (err.code == Geolocation.TIMEOUT) errType = "Time Out"; alert('ERROR(' + errType + '): ' + err.message); } ``` 完成以上步骤之后就可以在设备上的浏览器查看效果。如果位置错误,把获取到的坐标当成谷歌坐标试试。注意浏览器本身...

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

192. LayaNative 是不是不支持3D啊 [ 43%]

...or can't find the node3d id=-1 01-29 14:08:22.599 12064-12104/? I/LayaBox: alert=http://stand.alone.version/lib ... js:1: TypeError: Cannot read property 'createTexture' of null                                             s.completeCreate()},n.disposeResource=function(){this._s...

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

193. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 43%]

...able"; else if (e.code == Laya.Geolocation.TIMEOUT) errType = "Time Out"; alert('ERROR(' + errType + '): ' + e.message); } ``` 完成以上步骤之后就可以在设备上的浏览器查看效果。如果位置错误,把获取到的坐标当成谷歌坐标试试。注意浏览器本身的安全...

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

194. 使用百度地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...lable"; else if (e.code == Laya.Geolocation.TIMEOUT) errType = "Time Out"; alert('ERROR(' + errType + '): ' + e.message); } 完成以上步骤之后就可以在设备上的浏览器查看效果。如果位置错误,把获取到的坐标当成谷歌坐标试试。注意浏览器本身的安全限...

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

195. 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function [ 43%]

...s not a function 03-07 10:05:32.702 31653-31703/com.mihe.carrom I/LayaBox: alert=apploader.js:4515:     TypeError: this._nativeObj.addGlobalValueDefine is not a function             return this._nativeObj.addGlobalValueDefine(modifyType, type, size, defaultData);                   ...

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

196. 加载3D场景报错:TypeError: bt.btBvhTriangleMeshShape create is not a function [ 42%]

...入时,就无法进入了。并且界面上和控制台都有报错。 alert=出错啦,请把此信息截图给研发商 TypeError: bt.btBvhTriangleMeshShape_create is not a function http://10.251.141.146:8900/bin ... :439: TypeError: bt.btBvhTriangleMeshShape_create is not a function       ...

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

197. android下layabox调用Laya.Texture2D.load报错 [ 42%]

...正常的)   报错堆栈: 02-06 14:59:43.858  6545  6658 I LayaBox : alert=http://10.0.1.72/game/dev-loca ... 5668: TypeError: Cannot read property 'createTexture' of null 02-06 14:59:43.858  6545  6658 I LayaBox : var glTexture=this._source=gl.createTexture(); 02-06 14:59:43.858  6545  6658...

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

198. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 42%]

...he data. I/LayaBox:  onLayaInitError error=Load start *l error I/LayaBox: alert=加载游戏失败,可能由于您的网络不稳定,请退出重进 2021-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 ...

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

199. Windows扩展 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

... } = Laya; @regClass() export class Main extends Laya.Script { onStart() { alert(testLib.nativeAdd(10, 11)); } } 因为LayaNative的扩展功能只支持Windows平台,所以只能通过Windows预览或发布为Windows项目才能得到正确的结果。运行效果如图3-2所示, (图3-2) C...

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

200. [LayaNative2.2.0beta4] 无论是否删除或者替换layabox.ttf 都会直接crash 【有demo】 [ 39%]

...: 2019-09-13 15:32:57.548 4078-4208/com.test.layaNativeTest3 I/LayaBox: alert=出错啦,请把此信息截图给研发商     TypeError: Cannot read property 'length' of undefined     apploader.js:338:     TypeError: Cannot read property 'length' of undefined             for (var i =...

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