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

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

1. socket大型项目回调 [ 100%]

...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...

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

2. LayaAir中字符串转xml [ 95%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 LayaAir 2.1.0beta报错! 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 LayaAir 2.0 TS版编译出错GameConfig...

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

3. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 91%]

...相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 ...

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

4. 针对2.0.0 beta5 setLoadingPage 做增强 [ 90%]

... 支持 加载下一个场景的同时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadSc...

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

5. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 64%]

...); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = new Sprite(); // 城堡 this.tower = new Sprite(); // 飞艇 this.aeroboat = ne...

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

6. lib/arm/liblayaair.so 总是崩溃 [ 41%]

...0000000000000000000000000000000 system@app@WebViewGoogle@WebViewGoogle.apk@classes.dex 08-14 10:57:49.246 22858-22354/? A/google-breakpad: M D4046000 00000000 00D50000 F625A4CB5526862A8938C26430DD14240 liblayaair.so     M D5E70000 00000000 00004000 FE49D5AA7A278825F28EC84A96367CC60 libwebviewchrom...

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

7. 构建apk后,java报错 [ 28%]

...a:80)         at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99)         at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41)         at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:3...

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