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

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

41. laya 微信子域打开后如何关闭 [ 58%]

...  比如:调用子域打开排行榜了,如何关闭子域,Remove self? 还是 visable? 2019-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 176*****376 赞同来自: 就root。visable = false 2019...

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

42. apk 您的地址不符合要求 [ 56%]

... Laya.Browser.window.location.href="home.html"; window.open("home.html", "_self"); 以上两种写法都试过了。 web里都可以运行,打包APK安装之后,触发这个就报错。   所有的html文件、js,都是同一目录。   附件 : --> 2018-08-22 添加评论 免费帖 --> 分...

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

43. ios二次开发 [ 56%]

...打印出 fail  [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:ENTER_BACKGROUND_METHOD ret:@"fail"];   说明:这段代码是写在app切入后台和从后台回到游戏时applicationDidEnterBackground 2017-06-10 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

44. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 56%]

...es = "remote/model/res/Conventional/man_1.lh" constructor() { super(); let self = this; Util3d.loadRes( [ this.sMapRes, this.sBullRes, this.sEnemyRes ], function (bIsFinish) { if (bIsFinish) { self.onResFinish(); } } ) } onResFinish() { let pNewScene = <Laya.Scene3D>Util3d.getRes(this.sMapRes,...

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

45. ios 原生回调问题 能给一下 demo么 [ 55%]

...个示例代码 [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"setLoadUrl" ret:@"test"]; 使用这个 没有接到回调 的test 这个值 为何呢 Monica • 2017-10-20 16:00 不要用示例代码,参考下这个帖子!https://ask.layabox.c...

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

46. 这种报错,什么情况下会出现? [ 55%]

...博 QZONE 微信 Apple 赞同来自: 应该访问域错误,在拿不到self的域进行了调用,建议加点日志,看到哪就断掉了。 2018-05-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vincent 相关问题 编译调...

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

47. 请问如何加载base64的图片 [ 55%]

...inxu345050878 赞同来自: __proto.uploaderHandler=function (files) { var self=this; var file=files[0]; var reader=new FileReader(); reader.onload=function () { this.headIcon.loadImage(this.result); } reader.readAsDataURL(file); } 是这样显示的吗?我的为何也不显示,通过html的inpu...

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

48. window.close()函数在laya2.0中无效 [ 55%]

...要求, 代码如下: onClickReturn() { Laya.Browser.window.open('', '_self'); Laya.Browser.window.opener = null; Laya.Browser.window.close(); }无法关闭当前页面,open是有效的 close()无效,断点也跟不进去close, 在其他普通编辑器中编写该功能,是正常生效...

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

49. 预制体添加刚体后,和其它刚体碰撞后不能修改角度和位置 [ 54%]

...和其它刚体碰撞后不能修改角度和位置  onTriggerEnter(other,self,contact)     {         var n=this.owner.rotation;         if(other.label === "heng"){             console.log("角度"+this.owner.rotation);             this.owner.rotation=...

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

50. App websocket out of memory [ 54%]

...gt; { }); client.on(PinusWSClientEvent.EVENT_KICK, (event) => { }); let self = this; client.init({host: "192.168.1.218", port: 10000}, () => { }); } 附件 : --> WebsocketTest.zip 2019-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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