大约有 1,273 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0093 秒)
Laya_社区(723) Laya2.0_文档(155) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(24)
...ed (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/js/map/Node.js:113:30) at Handler.__proto.run (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:656:27) at TiledMap.__proto.initMap (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:307:27) at TiledMap.__proto.onTexture...
来源: Laya_社区 发布时间: 20170206
...d { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = new TestView(); //Laya.stage.addChild...
来源: Laya_社区 发布时间: 20180525
...中心线的距离(以像素为单位)。 Component closeEffect : Handler 关闭对话框效果,可以设置一个效果代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 Dialog closeHandler : Hand...
来源: laya_api 发布时间: 20170929
...//加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPageUI(); Laya.stage.addChild(testView); } } new LayaUISample; ``` `WorkerLoader.workerPath = ...
来源: Laya2.0_文档 发布时间: 20210715
...a.init(1100, 619, Laya.WebGL); Laya.loader.load("res/atlas/war.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } private onLoaded():void{ this.ball = new Ball(); Laya.stage.addChild(this.ball); this.ball.x = Laya.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stag...
来源: Laya_社区 发布时间: 20171108
...ar sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 1280, 720,Handler.create(this,()=>{ sp.graphics.getBoundPoints().forEach(e=>{ console.log("_getBoundPointsM:",e); }); })); sp.x=0; sp.y=0; this._sptse=sp; Laya.stage.addChild(sp);
来源: Laya_社区 发布时间: 20170423
...); Laya.loader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): void { var t: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;); var ape: Sprite = new Sprite(); ape.graphics.draw...
来源: Laya_社区 发布时间: 20170831
.../data.head_img:头像的url路径 head_img.loadImage(data.head_img, Laya.Handler.create(head_img, function () { this.height = this.width = 77; var cMask = new Laya.Sprite();//创建遮罩对象 var r = 38.5; //遮罩圆形半径 cMask.g...
来源: Laya_社区 发布时间: 20181119
... at http://127.0.0.1:53462/game/code.js:97630:17 at Laya.loader.load.Handler.create (http://127.0.0.1:53462/game/code.js:102231:13) at Handler.__proto.runWith (http://127.0.0.1:53462/game/code.js:711:59) 查看了应该是微信自带的浏览器内核不支持Function.apply 2018-03-0...
来源: Laya_社区 发布时间: 20180302
...。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不客气(*^__^*) ...... wuquanan • 2...
来源: Laya_社区 发布时间: 20170111