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

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

371. 调用拍照用input file可以么 [ 60%]

...调用图集下的小图 as的看不懂 调用动画结束on方法,报错this.zombieAnimator.on is not a function 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? 如何在PC端浏览器的调试面板调用滚动条? 请...

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

372. 报错了没搞懂 [ 60%]

报错了没搞懂 this.getchildByName is not a function 附件 : --> 2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ymsdandan 赞同来自: getchildbyname只能通过他的父节点来获取 2017-11-2...

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

373. 构建3d示例的Android工程,生成nativie的,导入android Studio中运行,报错 [ 60%]

...你们构建出的android的nativie的代码中 mProxy = new RuntimeProxy(this); mPlugin = new GameEngine(this);  mPlugin.game_plugin_set_runtime_proxy(mProxy);  mPlugin.game_plugin_set_option("localize","false");  mPlugin.game_plugin_set_option("gameUrl", "");  mPlugin.game_plugin_init(3);  Vi...

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

374. Laya2.6、2.7等支持async、await编译经验分享 [ 60%]

...发布。 FGUI的那个loadLib("libs/rawinflate.js") 记得把最后call(this)改成call(window)。。不然小游戏挂壁   如果正常编译.................    然后这个时候,微信开发者工具运行会爆一个错误跟这个人一样: https://blog.csdn.net/sinat_33184880/article...

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

375. ts加密md5码封装 [ 60%]

... Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, markString: boolean = typeof target === "string") { if (typeof target === "strin...

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

376. 真机下运行帧率不稳定 [ 60%]

...题  class Scene_Test { constructor() { super(); Laya.timer.frameLoop(1,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,图2是在模拟下运行打印的信息。   请问有人碰到过...

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

377. 发布的时候关于版本控制问题 [ 60%]

...urceVersion.enable("version.json?"+Math.random(), Handler.create(this, beginLoad)); 熊猫大侠 • 2018-09-07 16:44 @155*****359:加载的时候 后面跟一个随机数 每次都会拉取最新的 155*****359 • 2018-09-07 17:00 嗯嗯,明白了。多谢朋友! 。。 • 2018-11-2...

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

378. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 60%]

...ap: Object;//字体样式映射 static get instance(): StyleManager { if (!this._instance) { this._instance = new StyleManager(); } return this._instance; } constructor() { } /** * 解析字体样式 * @param {Object} obj */ parseStyle(obj: Object) { this._styleMap = obj; } /** * 根据key找到字...

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

379. Laya2.0TiledMap问题 [ 60%]

...使用TiledMap么,2.0里有Laya.TiledMap类,但是无法实例化, this.tMap = new Laya.TiledMap()后运行hui会提示Uncaught TypeError: Laya.TiledMap is not a constructor 附件 : --> 2019-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

380. 调用原生js [ 60%]

...troy,以前clone的对象也消失了 调用动画结束on方法,报错this.zombieAnimator.on is not a function Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 Laya2.1.0 JS调用Java PlatformClass undefined laya支持批处理调用js压缩吗? [闪退!!!...

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