大约有 228 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0044 秒)
...。 想做不同场景之间的切换。 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
...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
在代码新建b2Vec对象会导致编译阶段就出错 this.vec=new b2Vec2(); 加了这个就会这样,编译器不报错。 附件 : --> enging_game.zip 2023-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20231103
...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
...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
...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
...但是不断切换音乐的时候也会增加,如 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
... s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so TypeError: Cannot read property 'createTexture' of null ...
来源: Laya_社区 发布时间: 20180129
...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
...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