大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
对象池3D问题 Laya.loader.create("fish/denglongyu/layaScene.lh", Laya.Handler.create(this, function(){ var layaMonkey =Laya.Sprite3D.load("fish/denglongyu/layaScene.lh"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform....
来源: Laya_社区 发布时间: 20171212
...566 赞同来自: 我也碰到这个问题了。 Dialog.manager.popupEffectHandler = Handler.create(this,(e)=>{ var dialog:Dialog = <Dialog>e; dialog.y = - dialog.height; var yy:number = (Laya.st...
来源: Laya_社区 发布时间: 20170510
...能不能用类似命令行,或者编译参数等等方式调用? Laya.Handler.create 加载图片回调参数问题 点击按钮打开对话框的时候能往对话框中传一个参数吗 as3中如何定义html中的id参数 Dispather.event参数传的是数组,为什么收到的参数却是...
来源: Laya_社区 发布时间: 20171108
...-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height),Handler.create(this,onComplete)); } private function onComplete():void { // TODO Auto Generated method stub trace(tiledMap.tileWidth,tiledMap.tileHeight); } 2016-07-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20160717
...ap/map.json",new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), new Handler(this, completeHandler)); function completeHandler(params) { console.log("brj laya h5 加载完成.."); } 2017-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20170918
...cheFile || isSaveFile) { MiniFileMgr.copyFile(filePath, readyUrl, new Laya.Handler(MiniFileMgr,MiniFileMgr.copyFileCallback,[callBack,data]), encoding, isAutoClear); } else callBack != null && callBack.runWith([0, data]); } else callBack != null && callBack.runWith([0, data]); }, fai...
来源: Laya_社区 发布时间: 20200103
...否告知怎么使用? //预加载声音 Laya.loader.load(BOX_OVER, Laya.Handler.create(this, this.onComplete), null, Laya.Loader.SOUND); 2018-07-09 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 谢春 相关问题 游戏运行在chro...
来源: Laya_社区 发布时间: 20180707
...type:Laya.Loader.IMAGE}); Laya.loader.load(alive, Laya.Handler.create(this, this.LoadFinish)); } private LoadFinish(success:boolean):void { if(success) { let tex:any = Laya.Loader.getRes("res/...
来源: Laya_社区 发布时间: 20210618
...`typescript //加载模型 Laya.Sprite3D.load("Conventional/shoot.lh",Laya.Handler.create(this,function(sp){ //获取到Meshsprite3d var cube = scene.addChild(sp.getChildAt(0); //获取刚体 var cubeRigid = cube.getComponent(Laya.Rigidbody3D); })); ```
来源: Laya2.0_文档 发布时间: 20210715
...自: my26929 如果你想取得list下单元格的坐标可以通过mouseHandler方法来获取 list.mouseHandler=new Handler(this,onClick); } private function onClick(e:Event,index:int):void { if(e.type==Event.CLICK) { trace("xy:"+list.getCell(index).x,list.getCell(index).y); } }上面的坐标是...
来源: Laya_社区 发布时间: 20161215