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

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

31. laya.maths.Matrix [ 66%]

...:Number, y:Number):Matrix 对 Matrix 对象应用倾斜转换。 Matrix  toString():String 返回列出该 Matrix 对象属性的文本值。 Matrix  transformPoint(out:Point):Point 将 Matrix 对象表示的几何转换应用于指定点。 Matrix  transformPointN(out:Point):Point 将 Matrix ...

来源: laya_api 发布时间: 20170929

32. laya.maths.Matrix [ 66%]

...:Number, y:Number):Matrix 对 Matrix 对象应用倾斜转换。 Matrix  toString():String 返回列出该 Matrix 对象属性的文本值。 Matrix  transformPoint(out:Point):Point 将 Matrix 对象表示的几何转换应用于指定点。 Matrix  transformPointN(out:Point):Point 将 Matrix ...

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

33. native中返回数据到游戏里。 [ 65%]

...游戏里。 LayaPlatformCallback.GetInstance().LP_LoginCallback(jsonObj.toString()); 这里对返回 数据的大小,字符 啥的有限制嘛 2018-04-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS ...

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

34. 真机调试 开启子域后 提示出现window is not defined [ 65%]

...anvas = openDataContext.canvas;  openDataContext.postMessage({ code: code.toString(), page: page.toString() })  return sharedCanvas }       ↓按钮回调 绘制子域到工程 bt_rank_call_back(body){   this.bt_rank.CALL_BACK = function () { console.log("排行榜") var player_rank = body.wx...

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

35. 获取对象的名称 兼容问题 [ 63%]

... 兼容问题 获取类型的名称可以通过  class.name || class。toString().match(/function\s*([^(]*)\(/)[1];  但是获取对象的名称   对象.constructor.name 存在兼容问题 2017-08-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

36. url上带有中文参数如何解码 [ 63%]

...参数如何解码 var url:String = __JS__('window.document.location.href.toString()'); 可以获取中文地址,获取后,如何解码地址中含有的中文,字母的没有问题 比如 xxx.html?id=1&userName=小明 这个小明进来后是乱码的 2017-06-14 添加评论 免费帖 -->...

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

37. 循环依赖警告bug [ 62%]

...l_preject\\WildernessSurvival_LayaClient\\src\\Srcipt\\npc\\EnemyBase.ts', toString: [Function] }   而当我把相互持有的引用类型改为 any 时  就没有这个警告,请问是为什么?我觉得Laya应该把这个警告去除,这种警告是不合理的。 2020-03-17 添加评论 ...

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

38. 如何用ts对引擎类进行方法扩展 [ 62%]

...er.prototype.thousandsSeperator = function(): string { return Number(this).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); } export {};  我用同样的方法尝试了,但是行不通。   请问我的ts 3d项目中,我想对常用的引擎类进行方法扩展(Animtor, BaseRender, Vector3, ...

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

39. skin 大于512 的释放问题 [ 61%]

...getNumberByUrl(resourcesCenter.ResourcesPathStr.FIGHT_NUMBER_PATH_PNG, num.toString()); this._sprFight.x = 600; this._sprFight.y = 150; this.addChild(this._sprFight); } dispose(): void { this.imgItem.graphics.clear(); this.imgItem.removeSelf(); this.imgItem.skin = null; this._sprFight.graphics.clear...

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

40. 怎么解码网址的中文乱码 [ 60%]

...           var url:String = __JS__('window.document.location.href.toString()');             var urlStr:String = decodeURI(url);             var u:* = urlStr.split("?");             if (u[1] is String)             {                 u = u[1].spli...

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