大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0065 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...置数据 因为加载模式下layaUI.max.all.js中使用的是this.loadUI("uiname"); 内嵌模式下代码调用layaUI.max.all.js中某个类时要 1.提前加载对应的导出资源(相关图片资源); 即可调用layaUI.max.all.js中的类生成...
来源: Laya_社区 发布时间: 20171018
...tlas",type:Laya.Loader.ATLAS}] Laya.loader.load(tArray,Laya.Handler.create(this,onResLoaded())); 里面的button和checkbox提示丢失了。是什么原因?? 附件 : --> 2018-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180325
...ry { if (Laya.WebAudioSound.webAudioEnabled) { Laya.SoundManager.playSound(this.soundUrl, 1, null, Laya.WebAudioSound, 0); } else { Laya.SoundManager.playSound(this.soundUrl, 1, null, null, 0); } } catch(e) { Debug.err(e.message); } Victor • 2018-10-18 15:56 @demibug 目前在IE上我用的是audi...
来源: Laya_社区 发布时间: 20181016
...加入到场景) Scene3DManager.getInstance().nowScene.addChild( box ); this._ani.linkSprite3DToAvatarNode("RHand",box); linkSprite3DToAvatarNode 这个借口会报错,, throw("Animator:sprite3D must belong to this Animator"); 走到这里了,, 模型资源在附件里面 附件 : ...
来源: Laya_社区 发布时间: 20181010
...meMain{ private tMap:Laya.TiledMap; constructor() { //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(); //创建TiledMap地图 this.tMap.createMap("res/TiledMap/orthogonal-outside.json",viewRect,null); //...
来源: Laya_社区 发布时间: 20180203
...me":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumtime":"" } } ] } ClassUtils getClass(className:String):*[static] 根据名字返回类对象。 ClassUtils getInstance(className:String):*[static] 根据名称创建 Class 实例。 C...
来源: Laya2.0_api 发布时间: 20190513
... 虚世繁华 赞同来自: constructor() { super(); Laya.timer.once(1,this,()=> { Laya.Scene3D.load('LayaScene_Main/Conventional/Main.ls',Laya.Handler.create(this,(scene:Laya.Scene3D)=> { Laya.stage.addChild(scene); })); }); } 这样的加载一定包异常,不延时直接在构造...
来源: Laya_社区 发布时间: 20190719
...ar isModalTmp = dialog.isModal; // dialog.isModal && this._checkMask(); dialog.closeHandler && dialog.closeHandler.runWith(dialog.closeType); if (dialog.autoDestroyAtClosed)dialog.destroy(); else dialog.removeSelf(); ...
来源: Laya_社区 发布时间: 20180729
...同样的问题,t.addReference报错,改了laya.core.js之后又报了this.bitmap._getSource() is not a function,改了getsource之后不报错了,但是开放域的东西都没绘制出来,game.json里面设置了开放域的,并且使用laya微信开放域组件能够正常显示,使用2...
来源: Laya_社区 发布时间: 20181025
...rotoBuf:any = Browser.window.protobuf; ProtoBuf.load("type.proto", this.onProtoLoaded); ProtoBuf.load("Lobby/protobuf/client2world_protocol.proto", this.onProtoBufLoaded1); } function onProtoLoaded(err:any, root:any):void{ if (err) throw err; root_prot...
来源: Laya_社区 发布时间: 20170911