大约有 418 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
....js:465) at Loader.__proto.complete (laya.core.js:12141) at Loader.__proto.onLoaded (laya.core.js:12130) at EventHandler.__proto.runWith (laya.core.js:686) at HttpRequest.__proto.event (laya.core.js:465) at HttpRequest.__proto.complete (laya.core.js:11854) __proto._create @ laya.core.js:12371 __prot...
来源: Laya_社区 发布时间: 20170927
...ader.load([{url:"res/sk/cow.sk",type:Loader.BUFFER}], Handler.create(this, onLoaded)); onLoaded(); } private function onLoaded():void { var sk:Skeleton = new Skeleton(); trace("-=...
来源: Laya_社区 发布时间: 20180828
... Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ console.info("onLoaded"); this.tiledMap = new Laya.TiledMap(); this.tiledMap.createMap("desert.json", new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height),...
来源: Laya_社区 发布时间: 20171125
.../Public@sl4615.mp3",type:laya.net.Loader.SOUND} ],Laya.Handler.create(this,onLoaded)); /*登录界面*/ var resArray=[ {url:"res/LoginView.fui",type:laya.net.Loader.BUFFER}, {url:"res/LoginView@atlas0.png",type:laya.net.Loader.IMAGE} ]; var loadcount=resArray.length; function onLoaded() { console....
来源: Laya_社区 发布时间: 20171207
... //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); Laya.loader.load ( [ { url: "res/atlas/comp.atlas" , type: Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20180513
..., 代码如下,项目文件我也打包上传了,求原因, 类B的onloaded方法会无限循环执行 testlaya.aspackage { import laya.display.Stage; import laya.webgl.WebGL; public class testlaya { public function testlaya() { Laya.init(100, 100, WebGL); Laya.stage.alignV = Stage.ALIGN_MI...
来源: Laya_社区 发布时间: 20170330
...l: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //示例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }// TestView.as package { import game.ui.test.TestPageUI; import laya.display.Text; import laya.events.E...
来源: Laya_示例 发布时间: 20251209
...l: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //示例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }// TestView.as package { import game.ui.test.TestPageUI; import laya.display.Text; import laya.events.E...
来源: Laya2.0_示例 发布时间: 20200319
...laya/mytalkingtom_demo/bin/libs/laya.core.js:16331:9) at Loader.__proto.onLoaded (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:16299:9) at EventHandler.__proto.runWith (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:1409:59) ...
来源: Laya_社区 发布时间: 20190320
...(urls, Laya.Handler.create(this, onAssetLoaded), Laya.Handler.create(this, onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理progress加载进度事件,由于回调执行一次之后就被对象池回收了,所以,progress加...
来源: Laya2.0_文档 发布时间: 20210715