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

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

201. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 60%]

...。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一次 Laya.stage....

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

202. 在Iphone6下Chrom:调用laya.utils.Browser.onPC返回true? [ 60%]

...s 用 getChildByName 返回类型出错 调用动画结束on方法,报错this.zombieAnimator.on is not a function 问题状态 最新活动: 2016-12-18 14:59 浏览: 1441 关注: 3 人 Monica • 2016-12-18 15:20 手机系统用的是10.0版本以上的...你更新下看看呢?

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

203. 在代码新建b2Vec对象会导致编译阶段就出错 [ 60%]

在代码新建b2Vec对象会导致编译阶段就出错 this.vec=new b2Vec2(); 加了这个就会这样,编译器不报错。     附件 : --> enging_game.zip 2023-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

204. 安卓app加载场景错误 [ 59%]

...756: TypeError: Cannot read property 'createTexture' of null var glTexture=this._source=gl.createTexture(); ^ TypeError: Cannot read property 'createTexture' of null at Texture2D.__proto._createWebGlTexture (http://192.167.0.100/h5/layawe ... 756:32) at Texture2D.__proto.recreateResource (http://192...

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

205. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 59%]

...TML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ...

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

206. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 58%]

...TML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ...

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

207. 播放音乐 失去焦点后回来内存会不断增加 [ 57%]

...但是不断切换音乐的时候也会增加,如 Laya.timer.loop(1000,this,function():void{ SoundManager.playMusic(UrlUtils.getSoundUrl("runbeard/Audio_Game_Back")); }); Laya_Aaron • 2018-02-08 20:10 都换了就不会切换也增加了 Laya_Aaron • 2018-02-08 20:11 焦点切换,...

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

208. LayaNative 是不是不支持3D啊 [ 57%]

...                 s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so                                             TypeError: Cannot read property 'createTexture' of null                              ...

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

209. Laya2.2问题,有没有遇到的? [ 57%]

...le(); if (GameConfig.stat) Laya.Stat.show(); Laya.alertGlobalError = true; this.onConfigLoaded(); } onVersionLoaded() { } onConfigLoaded() { console.log(123131313213); } } new Main();  }());   错误信息: Uncaught TypeError: window.wx.getFileSystemManager is not a function     at window.wxMi...

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

210. 在微信小游戏中使用BitmapFont会导致报错. [ 57%]

...ont();     timerFont.loadFont('res/timerfont.fnt', Laya.Handler.create(this, () => {         Laya.Text.registerBitmapFont('Name', timerFont);         Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded));     })); }  function onLoaded(): void {     ...

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