• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,374 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)

241. 发射射线检测不到,物体有包围盒 [ 76%]

...         //     lv.addChild(sp);             //     console.log("添加预制体");             // }));               self.camera = scene3d.getChildByName("--- ENVIRONEMENT ---").getChildByName("Main Camera");                         self.scene = scene3d;   ...

来源: Laya_社区 发布时间: 20220506

242. 排行榜上的玩家头像绘制问题 [ 76%]

排行榜上的玩家头像绘制问题 这是您给的链接 https://blog.csdn.net/LightUpH ... 04366 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 187*****279 赞同来自: 这篇文章写的很详...

来源: Laya_社区 发布时间: 20180516

243. list中加的button不能接收点击事件 求一个list中加button的demo [ 76%]

... updateListItem(cell: BagItem, index: number):void{         console.log("3333333333333");         if (cell.useBtn.clickHandler == undefined) {             cell.useBtn.on("click", this, this.onItemUse, [index]);         }     }     onItemUse(index):void{     ...

来源: Laya_社区 发布时间: 20170310

244. 在加载多个资源的时候,加载进度异常 [ 76%]

...his, function(){ }),  Laya.Handler.create(this, function(e){    console.log(e) } , Laya.Loader.ATLAS);   此时进度e的值只有一个数0.41 ,不会从0到1,这是什么原因? 2018-01-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20180101

245. 本地双击html如何打开laya项目? [ 76%]

...Socket(PORT); } catch (IOException e) { // TODO Auto-generated catch block Log. i(TAG, "异常信息:" + e.getMessage()); } new Thread(this).start(); Log. i(TAG, "server is start......"); } public void run() { // 服务器端连续监听客户端 while (true ) { Socket client = null; try { client ...

来源: Laya_社区 发布时间: 20160104

246. laya3d物体碰撞与触发检测的问题 [ 76%]

...ends Laya.Script {  constructor() { super(); } onTriggerEnter() { console.log("111"); } onTriggerStay() { console.log("111"); } onTriggerExit() { console.log("111"); } onEnable() { }  onDisable() { } } //这是两个类,直接可以就不会发生触发效果,什么都不输出,还是我哪...

来源: Laya_社区 发布时间: 20190314

247. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 76%]

...200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400); this.onLoaded() function onLoaded(): void {...

来源: Laya_社区 发布时间: 20180315

248. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 76%]

...te3D) == null || !this.isUseOuline){            // console.log('spreite3D node meshSprite3D is null');            return;         }         var unlitMaterial = new Laya.UnlitMaterial();         unlitMaterial.albedoColor = new Laya.Vector4...

来源: Laya_社区 发布时间: 20210203

249. 添加极光推送后,切回后台点击推送过来的消息,出现黑屏闪退是什么原因?内文有LOG,请帮忙查看一下哪出错了。 [ 76%]

...点击推送过来的消息,出现黑屏闪退是什么原因?内文有LOG,请帮忙查看一下哪出错了。 05-17 17:12:40.307 13946-13946/com.wesai.doudizhu I/LayaBox: del engine 05-17 17:12:40.307 13946-13946/com.wesai.doudizhu E/LayaBox: >>>>>>>>>>>>&...

来源: Laya_社区 发布时间: 20170517

250. 小米登录失败 [ 75%]

小米登录失败 window["qg"].login({ success: function (res) { var data = JSON.stringify(res); console.log("OPPO登录:" + data); callBack(res); }, fail: function (res) { LogicManager.instance.toLoginSucc(); console.log("登陆失败:" + JSON.stringify(res)); } });  登陆失败:{"code":7605,...

来源: Laya_社区 发布时间: 20190823