大约有 803 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
... Laya.Scene3D.load("res/unity1/Conventional/GameScene.lh", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(this.m_scene); })); 附件 : --> EffectComplete.unitypackage_.zip 2020-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20200630
...ructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.create(this, this.bgLoaded)); } bgLoaded(): void { let t: Laya.Texture = Laya.loader.getRes("res/images/map_01.png"); this.width = 1000; this.height = 500; this.graphics.fillTexture(t, 0, 0); this.zOrder = -1; } } 2017-07-14 ...
来源: Laya_社区 发布时间: 20170714
...nction XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("data.xml"); trace(xml); } } }运行效果如下: 2016-09-14 0 0 分享 ...
来源: Laya_社区 发布时间: 20160914
...集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 view和Dialog区别 LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 dispone和d...
来源: Laya_社区 发布时间: 20191120
...片,出错,报错信息为:Uncaught TypeError: Cannot read property 'create' of undefined 附件 : --> LayaAir.zip 2017-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: kkLL ...
来源: Laya_社区 发布时间: 20170331
...Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(); this.scene3d...
来源: Laya3.0_文档 发布时间: 20251010
... ]; //加载load侦听 Laya.loader.load(urls, loaderHandler.create(this, onAssetLoaded), loaderHandler.create(this, onLoading, null, false)); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, onError); this.moveover =true; function onAssetLoaded(texture) ...
来源: Laya_社区 发布时间: 20171024
...交 2 个回复 Yangcy 赞同来自: Laya.loader.load("abc.json", Handler.create(this, onAssetLoadedSound), Handler.create(this, progressHandler), Loader.SOUND); 第一次加载出来: [list=none] [*]0: {column: "0", duration: "0", mode: "点", time: "3076"}[/*] [*]1: {column: "0", d...
来源: Laya_社区 发布时间: 20181122
...,加载type是Loader.SOUND Laya.loader.load("xxx/xxx/xxx.mp3", Handler.create(this, onLoaded),null,Loader.SOUND); 2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 apmhot 相关问题 2.0一不小心删了bin目录下的某...
来源: Laya_社区 发布时间: 20180409
...是我哪里用的不对吗? Laya.loader.load("res/1.json", Handler.create(this, createAnimation), null, Loader.ATLAS); public function createAnimation():void { var appendHtml:HTMLDivElement=new HTMLDivElement(); appendHtml.innerHTML="aa...
来源: Laya_社区 发布时间: 20180309