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

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

231. 为什么字符串不能连接? [ 66%]

...mber=arr.length*Math.random(); str+=arr[index];//在IDE里面这句报错 [ts] Operator '+' cannot be applied to types 'String' and 'String'. } return str; }   2017-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...

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

232. unity的png图导出到laya2.0里变成jpg [ 66%]

...oCanvas 报错 ImageData is not defined? 自定义场景类导出layaMaxUI.ts有前缀导致报错 laya2.0 3d物理碰撞穿透问题 laya2.0引入第三方库失败 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 LayaAir3...

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

233. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 66%]

....6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported helper ...

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

234. laya.resource.Texture2D_API3.0 [ 66%]

...ller on once setDDSData setHDRData setImageData setKTXData setPixelsData setSubPixelsData destroyUnusedResources load Constructors constructor new Texture2D(width: number, height: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boolean, premultiplyAlpha?: boolean): Texture2...

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

235. native 1.0.2 连不上wss [ 66%]

..._port: 27777, m_path: / NOTICE: Initial logging level 7 NOTICE: Libwebsockets version: 2.3.0 layabox_mac@localhost- NOTICE: IPV6 compiled in and enabled NOTICE: libev support not compiled in NOTICE: libuv support not compiled in NOTICE: Threads: 1 each 2560 fds NOTICE: mem: platform fd map: 20480 by...

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

236. “==”这个算是编译器的bug吗 [ 66%]

...自: 这个问题目前只能自己写严谨。 as 的ide 报错不准。 ts 和js 比较准。。。如果用fb fd写as的也会准。 2018-06-22 0 0 分享 微博 QZONE 微信 185*****914 - 一些用LAYABOX做的练习小游戏http://iuhigi.cn/ 赞同来自:  if(a=b)可以进行一次赋值,whi...

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

237. laya.d3.core.Transform3D_API3.0 [ 66%]

...pVec3 tmpVec3: Vector3 = new Vector3() Defined in laya/d3/core/Transform3D.ts:882 Accessors localMatrix get localMatrix(): Matrix4x4 set localMatrix(value: Matrix4x4): void Defined in laya/d3/core/Transform3D.ts:370 局部矩阵。 Returns Matrix4x4 Defined in laya/d3/core/Transform3D.ts:379 局部...

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

238. laya.d3.core.ui3d.UI3D_API3.0 [ 66%]

...era 类用于创建摄像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked billboard bounds boundsChange castShadow cull destroyed distanceF...

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

239. 我照的列子做,Protobuf,结果报错! [ 65%]

...tobuf,结果报错! demo:http://layaair.ldc.layabox.com ... uffer   ts code: ============================================================ class Game{    private ProtoBuf:any = Browser.window.dcodeIO.ProtoBuf;     ... }     err code: ======================================================...

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

240. LayaNative2.0 Lable引发的crash bug(有demo) [ 65%]

...了 2019-08-23 0 4 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 新ts 重写那个 和 老ts 不冲突。  这个不升级用新runtime  不配套会出问题的。 2019-08-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 happy...

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