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

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

11. [LayaAir3]我直接将整个项目导出,使用Android Studio打开编译,然后构建运行,连接手机结果打开项目就闪退? [ 85%]

... try { let url = `${this.baseUrl}/${endpoint}`; if (queryParams && Object.keys(queryParams).length > 0) { const searchParams = new URLSearchParams(); Object.keys(queryParams).forEach((key) => { const value = queryParams[key]; searchParams.append(key, value.toString()); }); url += `?${s...

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

12. 怎么解码网址的中文乱码 [ 85%]

... 0 分享 微博 QZONE 微信 Jiangxiaoyu 赞同来自: function urlData():Object         {             var url:String = __JS__('window.document.location.href.toString()');             var urlStr:String = decodeURI(url);             var u:* = urlStr.split("?");    ...

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

13. laya.maths.Rectangle_API3.0 [ 83%]

... create Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

14. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 82%]

...ClassName(value):string { var type = typeof value; if (!value || (type != "object" && !value.prototype)) { return type; } var prototype = value.prototype ? value.prototype : Object.getPrototypeOf(value); if (prototype.hasOwnProperty("__class__")) { return prototype["__class__"]; } var constr...

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

15. 怎样获取浏览器地址传过来的GET参数 [ 82%]

...法 ,JS百度非常多代码,直接拿来用private function getGet():Object { var url:String = __JS__('window.document.location.href.toString()'); var u:* = url.split("?"); if (u[1] is String) { u = u[1].split("&"); var gets:Object = {}; for (var i:String in u) { var j:String = u[i].split("...

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

16. laya.maths.Matrix_API3.0 [ 79%]

...l mul16 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

17. laya.maths.Rectangle [ 75%]

...onstants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他...

来源: laya_api 发布时间: 20170929

18. laya.maths.Rectangle [ 74%]

...onstants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他...

来源: Laya2.0_api 发布时间: 20190513

19. 引擎中的修改意见 [ 74%]

...lear:Boolean = true):void { wxdown({ url: fileUrl, success: function (data:Object):void { if (data.statusCode === 200) { if ((MiniAdpter.autoCacheFile || isSaveFile) && readyUrl.indexOf("wx.qlogo.cn") == -1 && readyUrl.indexOf(".php") == -1) copyFile(data.tempFilePath, readyUrl, call...

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

20. [LayaAir2]iOS设备,抖音app报错 requestAnimationFrame [ 73%]

...音app报错 requestAnimationFrame 使用的Layaair引擎2.13.1    [TMG] Object {message: "at requestAnimationFrame ... message: "at requestAnimationFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865) at ?(helium.js:6:1578) " ...

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