大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...是我,展示出牌与不出牌框 if (seat == this.myInfo.seat) { this.canSelect = true; // game.roomView.outYes.visible = false; game.roomView.outYes.visible = true; ...
来源: Laya_社区 发布时间: 20180723
...nd._musicAudio; }else { /* if(MiniSound._audioCache[this.readyUrl]){ tSound=MiniSound._audioCache[this.readyUrl]._sound; }else{*/ tSound=MiniSound._createSound(); // } 改成这样就OK了 2018-08-20 0 0 分享 微博 ...
来源: Laya_社区 发布时间: 20180817
...通过 Laya.Scene.load('sample/Conventional/Main.ls',Laya.Handler.create(this,this.onComplete)); 这个语句调用就报错了,我断点发现props这个属性是undefined的 if (!obj.props) throw "Scene data is error:" + url; 2020-08-04 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20200804
...// 尝试获取当前位置 Geolocation.getCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.ac...
来源: Laya_社区 发布时间: 20180402
...("load"); Laya.loader.create("TestScene/TestScene.ls", Laya.Handler.create(this, this.LoadSceneComplete)); } LoadSceneComplete() { console.log("finish") let scene: Laya.Scene = Laya.loader.getRes("TestScene/TestScene.ls") as Laya.Scene; // scene.enableLight = true; Laya.stage.addChild(scene); } } ne...
来源: Laya_社区 发布时间: 20171227
...: Laya.Loader.ATLAS } ); Laya.loader.load(asset, laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); // 使用图集 var arr = []; for(var i=1; i<=12; i++){ arr.push('nvhaidaomao/nvhaidaomao_down'+i+'.png'); } Animation.createFrames(arr, 'plane_fly...
来源: Laya_社区 发布时间: 20170326
...["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HSlider 类的实例对象 hSlider 。 hSlider.skin = "resource/ui/hslider.png";//设置 hSlider 的...
来源: Laya3.0_api 发布时间: 20231115
...lower2.png" : "img/flower3.jpg" img.loadImage(s); img.on(Laya.Event.CLICK, this, () => { img.y -= 10; }) img.pos(100, 300) Laya.stage.addChild(img) } function createFlower() { var f = new Laya.Sprite(); var r = Math.random(); var s = r > 0.66 ? "img/flower1.jpg" : r > 0.33 ? "img/flower2.pn...
来源: Laya_社区 发布时间: 20180412
...["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VSlider 类的实例对象 vSlider 。 vSlider.skin = "resource/ui/vslider.png";//设置 vSlider 的...
来源: Laya3.0_api 发布时间: 20231115
...载进度 Laya.loader.create(res,null,Laya.Handler.create(this,this.onProgress,null,false)); 2020-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 1605953523用户 赞同来自: 我把资源放...
来源: Laya_社区 发布时间: 20201130