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

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

71. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 76%]

...测到碰撞信息后删除对方。 PlayerMove.prototype.onTriggerStay = function (other) { this.tsizex = this.box._components[0]._transformOrientedBoundBox.extents.x; this.tsizez = this.box._components[0]._transformOrientedBoundBox.extents.z; this.osizex = other._transformOrientedBoundBox.extents....

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

72. 微信头像请求方式 [ 76%]

...取器 * @param {头像Url} headUrl * @param {显示头像Img} showImg */ function getWXHead(headUrl, showImg){ if(headCache[headUrl] != undefined){ showImg.skin = (headCache[headUrl]); }else{ // 创建请求 let httpRequest = new Laya.HttpRequest(); httpRequest.once(Laya.Event.COMPLETE, this, (data...

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

73. [LayaAir3]Layaair3.3.0-beta.4中2D导航数据清理报错 [ 76%]

...微信上动态合批报错. 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2025-07-17 10:04 浏览: 3274 关注: 4 人 visit • 2025-07-11 15:43 还有一个问题,2D导航代理在角色移动到目标位置时没有回调方法。我现在是自己用定时...

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

74. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 75%]

... Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) at Function.MiniAdpter.enable (laya.wxmini.js:19) at Function.Browser.__init__ (laya.core.js:8643) at Object.Laya.init...

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

75. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 75%]

...是出现 ProgressBar is not a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(0); //创建脚本的dom对象实例 var m...

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

76. iphone自带浏览器页面怎么锁定 [ 75%]

...2.6\libs\iflash\src\iflash\events\EventManager.as   找到方法  public function acceptSystemMouseEvent(event:*):void {     _currentSysEvent = event;     event.preventDefault(); //添加这句话即可,再发布即可。 2016-09-19 2 1 分享 微博 QZONE 微信 q12647 赞同来自: cuixuey...

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

77. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 75%]

...read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/game.js:49:8301)     at e.n._parse (https://usr/game.js:66:1995)     at Function.t._createNodeByJson (http...

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

78. 微信小游戏的位图字体加载报错! [ 75%]

...晰的解决方法! gameThirdScriptError t.getElementsByTagName is not a function TypeError: t.getElementsByTagName is not a function     at t.e.parseFont (http://127.0.0.1:63921/game/code.js:1:12413)     at e.s.onLoaded (http://127.0.0.1:63921/game/code.js:1:176642)     at e.u (http://127.0...

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

79. 在微信小游戏真机wx.onShow和wx.onHide中的currTimer的问题 [ 75%]

...信小游戏真机wx.onShow和wx.onHide中的currTimer的问题  public function Main() { MiniAdpter.init(); MiniAdpter.window.wx.onShow(_onShowWX); MiniAdpter.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); }...

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

80. shader报错 [ 74%]

...加载本地图片报错 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? laya2 发布微信开放域工程,用微信开发者工具打开报错 问题状态 最新活动: 2021-11-26 17:06 浏览: 4468 关注: 3 ...

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