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

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

41. ConchJNI.RunJS使用方法 [ 78%]

...比如ConchJNI.RunJS("this.gameOver()") 都提示TypeError: xxxx is not a function, gameOver方法不是静态的,跟这个有关系吗?如果是怎么调,不是怎么调用呢   麻烦各位大佬解答一下 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

42. HIERARCHY_LOADED函数不回调 [ 78%]

...sform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.transform.localPosition = new Vector3(100, 100, 100); }); 2018-03-27 添加评论 免费帖 --> 分享 微...

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

43. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 78%]

...使用wx等微信基础对象,ide版本1.7.19.1beta wx.login({ success: function () { wx.getUserInfo({ success: function (res) { console.log('success', res) }, fail: function (res) { console.log("reject",res) } }) } }); 这段代码里的wx对象,报错如下 "wx is not defined" 2018-07-28 添...

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

44. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 78%]

...class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 public function set owner(v:Sprite):void { _owner = v; //由于时序问题,我们需要在此...

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

45. 发布微信小游戏声音问题 [ 78%]

...   Invalid value used as weak map key;at audioContext.oncanplay callback function TypeError: Invalid value used as weak map key Invalid value used as weak map key;at audioContext.onended callback function TypeError: Invalid value used as weak map key 2018-01-14 添加评论 免费帖 --> 分享 微...

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

46. 使用滤镜报错 [ 78%]

...; var grayscaleFilter = new Laya.ColorFilter(grayscaleMat); //按钮置灰 function enable_false(v) {     v.filters = [grayscaleFilter];     v.mouseEnabled = false; } //按钮恢复 function enable_true(v) {     v.filters = null;     v.mouseEnabled = true; } 报错日志: TypeError: f....

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

47. as3版的Tween的Complete报错 [ 77%]

... ohkei - as3、as2、h5 赞同来自: Tween.to(logo, {x:550}, 3000, null, function(){       trace("logo complete"); }); 报错如下:     2017-03-27 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 相关问题 ...

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

48. Laya.HTMLDivElement解析img标签报错 [ 77%]

...div);     } TypeError: Illegal constructor laya.core.js:11687     at Function.getInstance (file:///D:/work/test2/bin/libs/laya.core.js:11687:24)     at Function.getInstance (file:///D:/work/test2/bin/libs/laya.html.js:1213:39)     at Function._parseXML (file:///D:/work/test2/bin/libs/laya....

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

49. 2.4.0bate IDE layaair2-cmd 安装错误求解 [ 77%]

...or\AppData\Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)     at...

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

50. cameramovescript添加报错,有添加脚本的详细教程么as[ 77%]

... 微信小游戏编译报错 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 启动引擎报错 mPlugin.game_plugin_init(3); IDE通过.ui自动生成的ui代码报错 请问 《学习开...

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