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

大约有 66 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)

1. 编译时候报错 如下 怎么解决呢 [ 100%]

编译时候报错 如下 怎么解决呢 libs/LayaAir.d.ts(4252,38): error TS2694: Namespace 'laya.d3.core' has no exported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of ...

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

2. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 95%]

Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...

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

3. 升级到1.78beta版后,包编译错误 [ 91%]

升级到1.78beta版后,包编译错误 tsc      libs/LayaAir.d.ts(4252,38): error TS2694: Namespace 'laya.d3.core' has no exported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture...

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

4. Laya.util.Ease这个类是用来配合Tween的,可是怎么使用?没有任何资料啊。 [ 87%]

Laya.util.Ease这个类是用来配合Tween的,可是怎么使用?没有任何资料啊。 Api里说可以控制Tween的一些表现。可是只有方法介绍,没有任何例子。   LayaAir这个资料站,api说明倒是蛮全的。就是都是方法说明,没有简单的使用例子...

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

5. mac os ts环境配置 [ 86%]

mac os ts环境配置 在mac os系统下,安装typescript后使用LayaAirIDE编译出现错误 src/uiscripts/InterServiceSports/OverServiceFight.ts(24,48): error TS2339: Property 'getSquareIconPath' does not exist on type 'typeof ui'. src/uiscripts/InterServiceSports/OverServiceFight.ts(32,48): e...

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

6. LayaAir下Array.sort如何使用? [ 84%]

LayaAir下Array.sort如何使用? 2016-05-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: LayaAir下的sort方法只能接收方法:请参考以下示例 (正序) Laya.init(550,400)...

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

7. 【提供导出场景demo以及unitypackage】微信小游戏android平台,加载场景时报错expected Number(uniform4f),模拟器正常 [ 83%]

【提供导出场景demo以及unitypackage】微信小游戏android平台,加载场景时报错expected Number(uniform4f),模拟器正常 unity场景中用到了环境反射贴图,以及laya pbr specular。场景中只有一个平行光设置灯光不产生阴影,一个台球,一个摄...

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

8. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 83%]

exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 安卓上打包运行没问题 iphone上打包运行弹窗报以上alert,请问我该如何定位这个alert 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...

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

9. Laya2.0 给刚体添加 冲力后, 绘制的球体会抖动。 [ 82%]

Laya2.0 给刚体添加 冲力后, 绘制的球体会抖动。 Laya2.0 给刚体添加 冲力后, 绘制的球体会抖动 2018-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Xq 赞同来自: 你...

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

10. Laya.loader.clearTextureRes回收纹理会导致其他绘制的纹理重新加载 [ 82%]

Laya.loader.clearTextureRes回收纹理会导致其他绘制的纹理重新加载 我只把灰色那块灰色了,最下面的也跟着闪了一下 附件 : --> 2020-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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