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

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

1221. 上架的游戏被苹果下架了 [ 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

1222. [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

1223. 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

1224. 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

1225. 阻止点击穿透问题 [ 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

1226. 执行回调函数时报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

1227. LayaNative加速器环境html启动文件规范须知 [ 50%]

...式;在加速器里的判断依据可以这样写: var Music:String; If(window.conch){ Music = “wav”或“ogg” }else{ Music = “mp3” } 5、在加速器环境下html文件里不支持通过script代码或div节点创建canvas画布;   6、游戏里的方法命名别叫:gc,因为在...

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

1228. 着色器蓝图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...est开关后,Shader通过alophatest的值来判断是否丢弃该像素 DiffuseColor 漫反射颜色(不产生光照的地方的颜色) SpecularColor 高光颜色(产生光照的地方的颜色) Shininess 表面光滑度 Gloss 表面粗糙度 Aplha 透明度,选择了TRANSPARENT渲染模...

来源: Laya3.0_文档 发布时间: 20251010

1229. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 50%]

...件的 16065 行注释掉,注释后的代码如下: error(err, pos) { if (typeof err === 'string') err = { message: err }; if (pos) augmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解决 tslib 找不到...

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

1230. 发布app(android)后,按后退键显示有问题 [ 50%]

...。正常的应用是不需要调用此方法的。 private void Hook() { if(!isExit) { isExit = true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; ...

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