大约有 1,766 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1394) Laya2.0_文档(82) Laya3.0_api(68) Laya2.0_api(57) Laya3.0_文档(53) laya_api(53) Laya_示例(32) Laya2.0_示例(27)
...行榜 离屏画布不能直接附加到组件纹理上 A:let texture = new Laya.Texture(sharedCanvas); backImage.graphics.drawTexture(texture) B:backImage.texture = texture 1.7版本可以直接把共享画布赋值给组件纹理,2.0不行(A,B两种方法) 报如下错误:...
来源: Laya_社区 发布时间: 20181001
...: 3 人 陈帅 • 2018-07-20 11:55 主要是list初始化时,始终只new了6个item对象。后面加载进来的数据只是去填充这6个item对象的数据。而并没有重新初始化该item对象。导致我初始化的事件一旦off掉,后面使用该item对象的渲染的事件默...
来源: Laya_社区 发布时间: 20180719
EventDispatcher.hasListener问题 var e:EventDispatcher = new EventDispatcher(); e.on("test", this, this.test1); e.on("test", this, this.test2); e.off("test", this, this.test1); e.off("test", this, this.test2); console.log(e.hasListener("test")); ---------------------------------------- 输出:true...
来源: Laya_社区 发布时间: 20180423
...是在试着导入游戏阶段报错。 以下是导入脚本。 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 tImageAr...
来源: Laya_社区 发布时间: 20161224
...te(this,graphicsImg)); } function graphicsImg() { //临时sprite var img = new Laya.Sprite(); //img.graphics.drawTexture(Laya.loader.getRes(("../src/img/testImg.png"),0,0)); //获取图片资源 var tex = Laya.loader.getRes("../src/img/testImg.png"); //获取临时sprite的htmlCanvas var htmlCanvas ...
来源: Laya_社区 发布时间: 20180413
...叠 要回复问题请先登录 发起人 broken 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 预设怎么在代码中使用 使用...
来源: Laya_社区 发布时间: 20200104
...叠 要回复问题请先登录 发起人 z298959 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 Dialog:屏蔽点击Dialog之外的区域关闭弹框 求指点3d射线碰撞和UI点击穿透的问题 如何设置Sprite的宽高和...
来源: Laya_社区 发布时间: 20171020
...!!!不按提问规则的,官方拒绝解答!!! 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 请问laya有没有地图编辑器工具? 分享...
来源: Laya_社区 发布时间: 20170905
...要回复问题请先登录 发起人 150*****079 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问LayaAir中如何使图片以圆形的方式显示? 请问laya有没有地图编辑器工具? 请问有没有方法能够获取...
来源: Laya_社区 发布时间: 20200528
...yer加速器?如你们构建出的android的nativie的代码中 mProxy = new RuntimeProxy(this); mPlugin = new GameEngine(this); mPlugin.game_plugin_set_runtime_proxy(mProxy); mPlugin.game_plugin_set_option("localize","false"); mPlugin.game_plugin_set_option("gameUrl", ""); mPlugin.game_pl...
来源: Laya_社区 发布时间: 20170906