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

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

1. texture is not defined [ 100%]

...在Android底下报错 ConchShader is not defined layaair-cmd 编译提示 ReferenceError: primordials is not defined 引用了laya.physics3D.runtime.js后报enum_btConstraintParams_BT_CONSTRAINT_ERP is not defined exports is not defined (js篇) 在android studio上运行ConchJNI.RunJS("JaveCallback...

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

2. ts import问题 [ 91%]

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

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

3. TS版分包报错 [ 90%]

...UI = ui.coreUI.TestUI ;  方式引入类 定义时报错:  "Uncaught ReferenceError: ui is not defined"    请问:我这种分包的方式与导入包的方式有问题吗,为何会报这种错误? 请指教!谢谢! 2017-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

4. 加载模块报错 [ 81%]

...node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 ReferenceError: exports is not defined 生成的js是Object.defineProperty(exports, "__esModule", { value: true }); var Collections = require("typescript-collections"); 刚接触ts,不太清楚怎么加载模块,编译时...

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

5. 已经在vs上引用相关的类,编译后bundle.js却没有相关的代码 [ 80%]

...发现报错。进行指令编译后,运行bundle.js。却提示Uncaught ReferenceError: SDispatcher is not defined. 我也尝试过 去掉 default ,都一样 2020-08-17 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

6. 2.0版TS使用JSONP报错 [ 78%]

2.0版TS使用JSONP报错 Uncaught ReferenceError: LayaSample is not defined     at ?a=1:1 附件 : --> bug.rar 2018-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这个demo 可...

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

7. Laya2.0 OC调用js [ 77%]

...   [[conchRuntime GetIOSConchRuntime] runJS:@"Test.onClick()"];  error: ReferenceError: Can't find variable: Test   p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #aef37d; background-color: #1f1f24} span.s1 {color: #ffffff} span.s2 {color: #91d462} span.s3 {color: #fc6a5d}   2...

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

8. AS类中初始化JS类相关问题 [ 76%]

...; _base = __JS__('new Base');   //执行到这里就报错  “Uncaught ReferenceError: Base is not defined”   }   麻烦帮我看看哪里有问题 2018-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

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

... } } 原生中代码:ConchJNI.RunJS("Test.onClick()"); 原生中报错:ReferenceError: Test is not defined   附件 : --> TEST.zip 2019-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 helloworldlv 赞同...

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

10. 分享一个TS版本的3D2D结合的单机斗地主Demo [ 71%]

... 分享 微博 QZONE 微信 Mortred 赞同来自: 跑步起来,报Uncaught ReferenceError: ProgressView is not defined 2019-12-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 woody1720596907 相关问题 分享:LayaAir下Loading进...

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