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

大约有 307 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0049 秒)

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. 做了一个最简单的显示微信子域的程序,但是报错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

73. 动态加载代码后,总是出现 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

74. 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

75. 微信小游戏的位图字体加载报错! [ 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

76. 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

77. 在微信小游戏真机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

78. 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

79. layaair声音报错 [ 74%]

...报错 window is not defined 导微信小程序报错window.focus is not a function 播放声音出错,求指教 2.2.0beta4,微信上动态合批报错. 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2018-07...

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

80. laya2.0 接入新的开放域功能,报错 [ 74%]

...mPlugin.game_plugin_init(3); 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 微信小游戏编译报错 laya2 发布微信开放域工程,用微信开发者工具打开报错 laya2.0 3d...

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