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

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

61. 如何启用摇一摇 [ 64%]

...EventListener("devicemotion", deviceMotionHandler, false)'); __JS__('}else{alert("你的设备不支持DeviceMotion事件");}'); __JS__('function deviceMotionHandler(eventData){var acceleration = eventData.accelerationIncludingGravity'); __JS__('var curTime = new Date().getTime()'); __JS__('if ((cur...

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

62. sprite做的按钮点击无反应? [ 64%]

...hild(btn); Laya.stage.addChild(btn); btn.on(Event.CLICK, this, function(){ alert("点击"); }); 点击btn并未弹出alert,我也设置了btn的size,这是为什么? 2017-01-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

63. 模拟石头下落过程不明抖动 [ 63%]

... private balls:Laya.Sprite = ; constructor(){ Config.isAntialias = true // alert("宽"+Laya.Browser.clientWidth+"高"+Laya.Browser.clientHeight ); // Laya.init(Laya.Browser.clientWidth,Laya.Browser.clientHeight, Laya.WebGL ); Laya.init(720,1280,Laya.WebGL); Laya.stage.alignH = Stage.ALIGN_CENTER; La...

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

64. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 63%]

...     ws = new MozWebSocket(url);         } else {             alert("您的浏览器不支持WebSocket。");             return ;         }     ws.onopen = function() {             log("open");             setConnected("已连接");             //设置发...

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

65. 苹果上架有问题啊 , !!!!!! [ 62%]

...this message. Guideline 4.0 - Design Your app includes an update button or alerts the user to update the app, but the update button or alert does not link directly to the app’s page on the App Store. Please see attached screenshots for details. Next Steps To resolve this issue, please ensure that ...

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

66. LAYABOX游戏实时语音之APP版本 [ 61%]

..., this.StopRecordAudio) } Loginyim() { YIMMain.callWithBack(function (n) { alert(n); }, "login",randomString(6)); } JoinRoom() { YIMMain.callWithBack(function (n) { alert(n); }, "joinChatRoom","235369"); } StartRecordAudio() { YIMMain.callWithBack(function (n) { alert(n); }, "onTouch","d"); } StopRe...

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

67. laya打包iOS,运行奔溃,构建时候选择的是2.3.0 [ 60%]

...t;>>>>>>>>evalundefined   模拟器信息是有个alert弹窗,上面的文字: exception info:[TypeError: this._nativeObj.addGlobalValueDefine is not a function.(In "this._nativeObj.addGlobal ValueDefine(modifyType, type, size, defaultData)", "this._nativeObj.addGlobalValu...

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

68. 有线上培训吗 [ 60%]

...性异常 Laya如何做线上客户端报错信息收集? 线上客户端alert弹窗报错应该如何收集? 问题状态 最新活动: 2018-05-29 14:03 浏览: 663 关注: 3 人

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

69. window.onerror [ 60%]

...码里写了 window.onerror = function (msg, url, line, column, detail) { alert("传奇世界")} 怎么不起效 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 青衿 赞同来自: 经过试验: 发...

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

70. Laya.alertGlobalError [ 60%]

Laya.alertGlobalError Laya.alertGlobalError是undefind;   我用alert(Laya.alertGlobalError)弹出undefind; 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Laya.alertGlobalErro...

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