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

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

1. ts app构建ios版本后xcode真机调试,一直报[ReferenceError:Cant't find varible:exports],这是什么原因] [ 100%]

...s版本后xcode真机调试,一直报[ReferenceError:Cant't find varible:exports],这是什么原因] 2019-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 悟空 赞同来自: 大佬 问题解决了吗。...

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

2. native ui is not defined [ 99%]

...否做到每个子游戏分别打包zip,在Native中解包并跳转? exports is not defined (js篇) Laya Native环境下如何生成二维码?官网提供的方案只能在浏览器下运行。因为qrcode.js依赖浏览器环境。网上翻遍了资料,没找到解决方案。 window is not...

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

3. warning:Laya.timer.once This variable is not defined. [ 96%]

...Adpter] already exist: Object {init: } GradientDataNumber warning是什么 exports is not defined (js篇) 运行ConchJNI.RunJS("JaveCallback.onHide()"),提示JaveCallback is not defined 问题状态 最新活动: 2018-03-20 11:25 浏览: 710 关注: 3 人 popo • 2018-03-20 11:34 公司项目,...

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

4. ts import问题 [ 91%]

...'./game/loading/LoadingPanel'; 使用会报错 “Uncaught ReferenceError: exports is not defined” 2018-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: export   不是 exports  2...

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

5. laya.device.motion.RotationInfo_API3.0 [ 91%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy RotationInfo Index Constructors constructor Propertie...

来源: Laya3.0_api 发布时间: 20231115

6. Config_API3.0 [ 85%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "Config" Config Class Config Config 用于配置一些全局参数。如需更改,请在初始化引擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSiz...

来源: Laya3.0_api 发布时间: 20231115

7. 二次开发中:平台代码(android/ios)主动执行js脚本,在Laya1.0中生效,在Laya2.0中不生效 [ 85%]

...行js脚本,在Laya1.0中生效,在Laya2.0中不生效 laya中代码:export default class Test  {     public static  onClick():void{         alert("123456");     }     public static onClick1():void{            } } 原生中代码:ConchJNI.RunJS("Test.onClick()"); 原生中...

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

8. laya.device.media.Media_API3.0 [ 82%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查当前浏览器是否...

来源: Laya3.0_api 发布时间: 20231115

9. macOS系统运行layaair-cmd resourceVersion报错 [ 81%]

...1)     at ChildProcess.spawn (internal/child_process.js:323:11)     at exports.spawn (child_process.js:502:9)     at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:60:10)     at Module._compile (module.js:652:30)     at Object.Module._exten...

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

10. laya.utils.Browser_API3.0 [ 80%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_P...

来源: Laya3.0_api 发布时间: 20231115