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

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

211. 官方自定义组件的制作与使用例子出错 [ 70%]

... 微博 QZONE 微信 bluesliu 赞同来自: 要在index.html中引入<script src="js/component/ScaleButton.js"></script> 2020-07-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cappuccino 相关问题 分享:LayaAir下Loa...

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

212. 如何引用一个没有d.ts的js文件 [ 70%]

... 已经将wx_main.js放入bin/libs下,并且在index上边添加了 <script type="text/javascript" src="libs/wx_main.js"></script>可是在layaSample.ts上还是没有办法引用,希望大家帮帮我 2018-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

213. 关于在TS工程中引入微信JS-SDK的问题 [ 70%]

...本地,放到bin/libs目录下,在index.html文件加入语句: <script type="text/javascript" src="libs/jweixin-1.2.0.js"></script>   然后新定义weixin.d.ts文件,加入以下两个语句:   declare var wx: any; declare var WeixinJSBridge: any;   以声明使用wx对象...

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

214. h5版本自定义按钮怎么做到QQ登陆呢? [ 70%]

...%E6%98%8E   已经在index.html文件中引入了qq登陆的sdk了。 <script type="text/javascript" charset="utf-8"     src="http://connect.qq.com/qc_jssdk.js"     data-appid="101545231"    data-redirecturi="http://wuyelieren.top:81/user/qqLogin">  </script>   上面引入的...

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

215. 发布的时候index.html内引用的部分js文件没有被复制 [ 70%]

...链接 提交 1 个回复 Laya_Aaron 赞同来自: 按照laya的   <script src='LayaUISample.max.js' loader='laya'></script> 这个 格式写试一下 2019-03-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 s0ok 相关问...

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

216. cannot read property '1'of null [ 70%]

... 赞同来自: 您看下您要添加的脚本是否存在base继承自Laya.Script, son继承自base,grandSon继承自son这种情况?如果存在的话在脚本中添加 //extends Laya.Script的注释试试 2022-01-06 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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

217. dcc下载超时 [ 70%]

...ed by ANGLE 2.1.0.axccacxx)] 07-04 20:55:27.756: I/LayaBox(7884): Start js scripts/apploader.js 07-04 20:55:28.175: I/LayaBox(7884): js thread started. 07-04 20:55:28.175: I/LayaBox(7884): js debug closed 07-04 20:55:28.185: I/LayaBox(7884): found the file in the package:scripts/runtimeInit.js 07-04...

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

218. ClassUtils.getClass获取不到Class [ 70%]

... 赞同来自: demo上传了。是直接用的编辑器的示例。我在script下新建了个Bullet2,然后每点击一次执行ClassUtils.getClass("script.Bullet2"),获取的都是undefined。 GetClassDemo.rar 2021-01-05 0 0 分享 微博 QZONE 微信 小小泽 จุ บ 赞同来自: 这个...

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

219. ts怎么调用js文件中的方法 [ 70%]

...接 提交 1 个回复 qian 赞同来自: 启动文件index.html下添加script标签即可 2018-01-03 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 super1013 相关问题 两个对象new了一个相同的对...

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

220. 开放数据域组件 · LayaAir3.0文档 · LAYABOX [ 70%]

...xtView: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.OpenDataContextView }) public opendata: Laya.OpenDataContextView; constructor() { super(); } /** * 组件被激活后执行,此时所有...

来源: Laya3.0_文档 发布时间: 20230628