大约有 959 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(662) Laya2.0_文档(158) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(27) Laya3.0_api(20) laya_api(3) Laya2.0_api(2)
... Laya.loader.load(this.skPath.replace(".atlas",".png"),Laya.Handler.create(this,function(bit){ var arr = Laya.Loader.getAtlas(this.skPath); arr.forEach(resUrl=>{ var tex = Laya.Loader.getRes...
来源: Laya_社区 发布时间: 20200317
...源成功后,执行onLoaded回调方法 Laya.loader.load(skin, Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个Button实例 var btn:Button = new Button(skin); //将Button添加到舞台 Laya.stage.addChild(btn); //设置Button相关的属性 btn.width = 100; btn...
来源: Laya2.0_文档 发布时间: 20210715
...oader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if (this._isRun...
来源: Laya3.0_文档 发布时间: 20251010
...100, 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.stage.on(Lay...
来源: Laya_社区 发布时间: 20171108
...-06-13 11:20:12.225 RBaoSANGuo_H5L1[1552:289925] iOS OpenGL ES 3.0 context created 2019-06-13 11:20:12.519 RBaoSANGuo_H5L1[1552:289925] 激活码a5f32aff-18ba-481e-aec7-ae791407385f 2019-06-13 11:20:12.534 RBaoSANGuo_H5L1[1552:289925] 请求链接:https://info.x5cv.com/apigateway/v1/ 2019-06-13 11...
来源: Laya_社区 发布时间: 20190612
...onLoaded回调方法 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //创建一个UI实例 this.comp = new ui.ComponentDemoUI(); //添加到舞台上显示 Laya.stage.addChild(this.comp); //点击Tab选择按钮的处理 this.comp.tab.selectHandler ...
来源: Laya2.0_文档 发布时间: 20210714
...onLoaded回调方法 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个UI实例 this.comp = new ui.ComponentDemoUI(); //添加到舞台上显示 Laya.stage.addChild(this.comp); //点击Tab选择按钮的处理 this.comp.tab.sel...
来源: Laya2.0_文档 发布时间: 20210715
...后,执行onLoad回调方法 Laya.loader.load([skin1,skin2],Laya.Handler.create(this,onLoaded)); function onLoaded(){ //创建一个CheckBox实例cb1 var cb1 = new Laya.CheckBox(this.skin1); //添加到舞台上显示 Laya.stage.addChild(cb1); //设置checkbox的坐标位置 cb1.pos(300,200); //...
来源: Laya2.0_文档 发布时间: 20210715
...;>>>conchjar android-2.0.8 E/LayaConch5: plugin-----------------onCreate() D/dalvikvm: JIT code cache reset in 0 ms (0 bytes 1/0) D/dalvikvm: GC_FOR_ALLOC freed 259K, 10% free 3081K/3408K, paused 2ms, total 2ms D/dalvikvm: GC_FOR_ALLOC freed 292K, 10% free 3303K/3656K, paused 2ms, total 3ms...
来源: Laya_社区 发布时间: 20171218
..."res/atlas/comp.atlas", type:Loader.ATLAS}); Laya.loader.load(res, Handler.create(null, this.__onLoaded)); } private __onLoaded(): void { Laya.stage.addChild(new Test()); } } new Entry(); Test.ts import Sprite = Laya.Sprite; class Test extends Sprite{ constructor(){ super(); this._initView(); } p...
来源: Laya_社区 发布时间: 20180308