大约有 2,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...1/Conventional/smoke.lh"]; Laya.loader.create(res3D, Laya.Handler.create(this, this.createBuild));这句子去获取资源,然后用 Laya.Loader.getRes("./Prefab/Conventional/NewBuilds.lh");方法去读取相应的文件,可是发现资源加载还是很慢,好久才进入到createBuild函...
来源: Laya_社区 发布时间: 20190702
...Name方法吗? 要怎么使用啊? Laya.stage.getChildByName("egg"+i); this.getChildByName("egg"+i); Laya.getChildByName("egg"+i); 都不对 2017-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 anlijames ...
来源: Laya_社区 发布时间: 20170517
...用呢? 我已经设置了button的Var 为bt1,在项目代码中写 this.bt1,会提示没有bt1 我在场景编辑器中按f12导出,在项目代码中写 this.bt1,还是会提示没有bt1。我下载了微信飞机ts版本,看了下人家的项目代码里输入this.bg1是完全...
来源: Laya_社区 发布时间: 20191107
...rray就找不到呢, 同理按照文档写 现在我的js也代码截图 this.m_list.scrollBar.hide = true;//隐藏列表的滚动条。 提示我scrollBar找不到。 附件 : --> 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180323
...300); Laya.stage.addChild(ani); ani.loadAnimation("AAA.ani",Handler.create(this,onLoadedAni,[ani])); } private function onLoadedAni(ani:Animation):void { ani.play(0,true); trace(ani.frames); }在加载完成之后去获取! 2017-08-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20170803
...示啊。 教程中 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this,onLoaded));这个ui.atlas 死活没看见啊。 代码复制了,不行 啊,坑在哪里???? package{import laya.net.Loader;import laya.utils.Handler;import ui.EffectAnimationDemoUI; public class Main{pu...
来源: Laya_社区 发布时间: 20190708
...cal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector30); Vector3.add(this.localPosition, Transform3D._tempVector30, this._localPosition); th...
来源: Laya3.0_文档 发布时间: 20251010
...api将数据绘制到 透明的 wx.sharedCanvas中。 伪代码如下: this.sharedCanvasContext.drawImage(...) this.sharedCanvasContext.fillText(...) 然后主域这边将sharedCanvas的内容绘制到主屏幕,伪代码如下: var myTexture = new Laya.Texture(sharedCanvas) myTexture.bitm...
来源: Laya_社区 发布时间: 20180419
...ne { constructor() { super(); DesertUI.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("Desert.scene"); //初始化舞台 Laya.init(Laya.Browser.width, Laya.Browser.height, Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.T...
来源: Laya_社区 发布时间: 20190321
...图,但是在试着导入游戏阶段报错。 以下是导入脚本。 this.map=new Laya.TiledMap(); this.map.createMap("res/map/map.json",new Laya.Rectangle(0,0,Laya.Browser.width,Laya.Browser.height), Laya.Handler.create(this,this.onLoaded));报错的地方为:laya.tiledmap.js第178行: var...
来源: Laya_社区 发布时间: 20161224