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

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

261. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 51%]

...ined 关于同为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 鼠...

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

262. LayaAir写了一个页面,怎么在Android studio 中引入 [ 51%]

....createClass("com.layabox.test.Test"); // 这个名字要与下面声明的Java的类名匹配. var a=false; // 注册手指按下事件 document.addEventListener("touchstart",function(e){ a=!a;// 实现奇数次打开 偶数次关闭 // b、调用静态函数openlight 参数为a Test.call("openligh...

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

263. 微信小游戏的4M本地包与动态资源加载(TypeScript-小游戏适配文档-微信小游戏) [ 51%]

...地加载的`load()`方法之后使用`URL.basePath`方法。 例如: ```java material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; Laya.URL.basePath = "https://XXXX.com";//请把XXXX换成自己的真实网址; //在此之下,再使用load加载...

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

264. Uncaught Can not find class EffectAnimation undefined [ 51%]

...eError: Cannot read property 'cursor' of undefined错误 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined LayaNative2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c Warning!,this class[MiniAdpter] alrea...

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

265. [LayaAir3]感觉laya游戏源码商城可直接换皮的项目好少,跟cocos天差地别 [ 51%]

...LAYA好用啊,特别是打包非常方便,不需要自己手动配置java,sdk,ndk啥的,简单方便 2025-11-12 1 0 分享 微博 QZONE 微信 柠萌 赞同来自: LayaAir小牛 ok 年底抽空多上点免费的Demo游戏 2025-11-13 1 0 分享 微博 QZONE 微信 LayaAir小牛 赞同来自: ...

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

266. Cannot read property 'props' of undefined [ 50%]

...eError: Cannot read property 'cursor' of undefined错误 Laya2.1.0 JS调用Java PlatformClass undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read property 'props' of undefined Property 'BoxMesh' does...

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

267. 启动画面LoadingView(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 50%]

...容如下所示,开发者可以根据自己的需求进行修改: ```javascript window.loadingView = new loadingView(); if(window.loadingView) { window.loadingView.loadingAutoClose=true;//true代表引擎控制关闭时机。false为开发者手动控制 window.loadingView.bgColor("#FFFFFF");//...

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

268. [LayaAir3]3.3.2 native视频播放和ide不一致,且循环有问题 [ 50%]

... 16:48 IDE打出的Android工程替换我发的.so文件和LayaVideoPlayer.java文件 Recovery • 2025-10-17 17:51 好 Recovery • 2025-10-17 17:59 渲染的区域里,视频比例正常了,但是透明区域不对,你可以打包对比下,ide里视频比例外侧是透明,安卓包是黑...

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

269. 用Geolocation获取地理位置信息(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 50%]

...tion()`获取当前的位置,`getCurrentPosition()`只触发一次。 ```java // 尝试获取当前位置 Geolocation.getCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬...

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

270. 能不能避免每次编译行为都重新把libs/laya/src下的AS文件重新编译一次,这太费时间了 [ 50%]

... 15068753667 • 2016-12-13 23:10 传统程序开发也是如此?比如java,cpp,传统AS。当然不是每次把所有代码编译一遍拉。这必须要优化。 15068753667 • 2016-12-13 22:39 看来我只能看laya源码了,我编译一次之后,然后把libs/laya移除,然后转为一...

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