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

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

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

...体         console.log("1111111111",this.hitResult);          // if (this.outs.length != 0)         // {          //  console.log("碰撞到物体",this,this.outs[0]);         // }                     } 附件 : --> 2022-05-06 添加评论 免费帖 --> 分享 微...

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

1212. ConchJNI.RunJS(xxxx) 这里的xxx自定义方法写在ts的哪里才能被执行 [ 50%]

...08-13 09:08 大佬您好您的问题解决了吗 L。 • 2020-03-26 12:10 if (Laya.Browser.window) { Laya.Browser.window.ui_mrg = ui_mrg; } 要这样注册 可以参考这个链接 https://www.jianshu.com/p/f74d3387d932

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

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

...好。看看能不能解决你的问题。 function drawRankList(data) { if (typeof (friendRankList) != "undefined") { friendRankList.destroy(); delete (friendRankList); // console.log(friendRankList); } friendRankList = new FriendRankListView(); // friendRankList.visible =false Laya.stage...

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

1214. 截屏无法实现 [ 50%]

...Cache();         Bitmap bmp = dView.getDrawingCache();         if (bmp != null) {             try {                 // 获取内置SD卡路径                 String sdCardPath = Environment.getExternalStorageDirectory()                    ...

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

1215. 上架的游戏被苹果下架了 [ 50%]

...tem that you have included may conduct the transaction outside of the app, if the purchasable content, functionality, or services are intended to be used in the app, they must be purchased using in-app purchase, within the app - unless it is of the type referenced in guideline 3.1.3 of the App Store...

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

1216. [LayaAir3]laya3.3.1 真实帧率严重BUG,希望修复 [ 50%]

...为 deltytime<300 let deltytime =Math.round( time - this._cacheTime); if (deltytime < 300) return; 附件 : --> LayaProjectl.zip LayaProjectl.zip 2025-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Lay...

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

1217. Sprite.loadImage在Android平台无法卡死,web和iOS平台正常 [ 50%]

...adImgUrl: 微信头像地址 */ function loadHeadImg(widget, headImgUrl) { if (!headImgUrl) { return; } // 通过服务器中转获取图片数据 var url = "http://" + LayaHttp.HALL_HOST + "/public/load_img?url=" + encodeURI(headImgUrl); // 新建一个Sprite放置头像, var sp = new Laya.Sprite...

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

1218. this.scene.physicsSimulation.rayCastAll 报错 [ 50%]

... this.scene.physicsSimulation.rayCastAll(this.ray,this.outHitResult);   if (this.outHitResult.succeeded) { //删除碰撞到的物体 this.text.text = "点击到了" + this.outHitResult.collider.owner.name ; console.log("碰撞到物体!!") }   上述代码运行时候报错,一直无法解...

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

1219. 阻止点击穿透问题 [ 50%]

...: this.items.shaizi.on("click", this, function(e) { e.stopPropagation(); if(!Game.runing) { Game.runing = true; Game.stepNum = Math.floor(Math.random() * 6) + 1; console.log(Game.stepNum) Animate.role(Game.stepNum); } },[this.items.shaizi]);  弹层的代码: this.prizeAlertLayer = new Sprite()...

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

1220. 执行回调函数时报is not a function [ 50%]

...lesBack(data:ByteArray):void {     var len:int=data.readShort();     if (len == 0)     { //没有角色...则开始创建         trace("#没有角色...则开始创建");         _allRegisterComplete=false;         _isFirstLogin=true;         loadCreateRole();    ...

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