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

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

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. 二次开发中:平台代码(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

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

7. 内嵌模式创建scene,运行时报找不到json文件 [ 80%]

...createView()进行创建,并且都是ide自动生成的代码。     export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","sty...

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

8. html5发布iOS编译报错 [ 79%]

...    cd /Users/poss/Desktop/release/iOS/wangpainiuniu/wangpainiuniu     export IPHONEOS_DEPLOYMENT_TARGET=7.0     export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/b...

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

9. Laya2.3.0Beta打包vivo勾选domparserinon.js异常 [ 75%]

...选domparserinon.js异常 勾选了这个选项之后会直接黑屏,报exports is not defined(有时候什么都不报),但是不勾的话有些场景又加载不上来(提示导入xml解析库),其它平台的勾选这个库都是没有问题的。不知道vivo上有什么特别的...

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

10. [LayaAirIDE3]layanative3.1 ios 使用TTF crash [ 74%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 LayaAir3D UnityPlugin 使用...

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