大约有 1,613 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1206) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya2.0_示例(43) Laya3.0_文档(41) Laya2.0_api(13) laya_api(12)
...constructor() { super(); } onAwake(): void { Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoadFinish)); } onPreLoadFinish() { //初始化3D场景 let test = Laya.Loader.getRes("gate/Conventional/Test.ls") let ...
来源: Laya_社区 发布时间: 20190925
.../res/atlas/ListPage.atlas", "res/atlas/template/ButtonTab.atlas"], Handler.create(this, this.onLoaded)); 而我F12发布,根本没有这个ListPage.atlas,只有ButtonTab.atlas 附件 : --> 2017-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20170904
... //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); Laya.loader.load ( [ { url: "res/atlas/comp.atlas" , type: Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20180513
...r completeHandler:Handler; public function A() { completeHandler = Handler.create(this,onComplete,[this]); completeHandler.run(); new B().load(completeHandler); trace('A',completeHandler.method == null,completeHandler['_id']) } private function onComplete():void { trace('haha') } } }package { import...
来源: Laya_社区 发布时间: 20170330
...= ((await Laya.loader.load("Examples/windows/Window1.lh")) as Laya.Prefab).create(); window.show(); 也可以扩展GWindow类使用: class MyWindow extends Laya.GWindow { protected onInit() { this.contentPane = ((await Laya.loader.load("Examples/windows/Window1.lh")) as Laya.Prefab).create(); } pr...
来源: Laya3.0_文档 发布时间: 20251010
...ALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(assets, Laya.Handler.create(this, this.ShowContent)); } ShowContent() { const FontClip = Laya.FontClip; var clipnum= new FontClip(assets[0]); var fontClip = new FontClip(assets[1]); var TestFontClip = new FontClip(assets[1]); var TestClipNum = ne...
来源: Laya2.0_示例 发布时间: 20251209
...sourceVersion.enable( "version.json?" + Math.random(), Handler.create(this, this.onVersonLoaded)); 然而发布的游戏启动后发现加载失败,查看日志发现加载的URL拼得不对: 它加载使用的路径是一个奇怪的: http://localhost/h5/res/atlas/ui/sharedc...
来源: Laya_社区 发布时间: 20180115
...Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camer...
来源: Laya2.0_文档 发布时间: 20210714
...a.Animation(); this.body.loadAtlas(config[this.type].imgBang, Laya.Handler.create(this, this.onLoad)); this.body.width = config[this.type].width this.body.height = config[this.type].height onLoad(){ Tween.to(this.body, { x: (config[this.type].width / 2) + 10, y: (config[this.type].heightp / 2) + 45 ...
来源: Laya_社区 发布时间: 20171111
... MiniFileMgr.downOtherFiles(url, Handler.create(this, this.onDownLoadCallBack, [url]), url); } } } MiniFileMgr.getFileInfo = function (fileUrl) { var fileNativePath ...
来源: Laya_社区 发布时间: 20180503