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

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

231. 版主紧急问题求助! [ 72%]

版主紧急问题求助! 1.ts module A{   export var a:类;(类里面包含坐标、Sprite3D等变量) }   2.ts module A{   export function test(){     a = new a();     a.vector2 = new Vector2(100, 100);      a.加载() //Laya.loader.create 加载一个模型。 这个a类里面有回...

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

232. 文本竖排排版布局 [ 72%]

...信 asdf131 赞同来自: 谢谢 有方式获取类的全名吗?像: module My.ux.panel { export class BasePanel { } }  module My.ux.uuxx.panel { export class BasePanel { } }  什么获取BasePanel 的全名 即:My.ux.panel,BasePanel 和  My.ux.uuxx.panel.BasePanel,     2017-04-08 0 2 ...

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

233. layaIDE2.0.2运行出错 [ 72%]

...错了: TypeScript error: ../../../programs/layaairide/resources/app/node_modules/typescript/lib/lib.es2015.iterable.d.ts(21,22): Error TS6053: File '../../../programs/layaairide/resources/app/node_modules/typescript/lib/lib.es2015.symbol.d.ts' not found. 请问是什么原因?如何解决?   2...

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

234. 关于TS index.html 导入很多js问题 [ 72%]

...怎么解决和设计呢?多谢答复解疑。 项目中使用了多个module module之间有引用。 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 自己要按照正确的...

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

235. es6转es5报错 [ 72%]

... 提交 1 个回复 Laya_Aaron 赞同来自: 152*****355 直接删了node_modules/caniuse-lite文件夹,然后重新安装:[code]npm i -g caniuse-lite[/code] 2020-04-20 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 158*****643 相...

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

236. D.TS访问问题 [ 72%]

D.TS访问问题 declare module common_lib{ class ByteArray extends com.tengxun.utils.ByteArray{} class ParserUtil extends com.utlis.ParserUtil{} class MathR extends com.utlis.MathR{} } 我是仿照layaAir.d.ts来写的,这些代码上面还有ByteArray这些类的declare。奇怪的是: declar...

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

237. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 72%]

...AngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类用于创建渐变角速度。 Public Properties PropertyDefined By  constant : Num...

来源: Laya2.0_api 发布时间: 20190513

238. typescript类文件只能放同一目录下吗? [ 72%]

...-03-25 11:27 分完之后代码上要写什么?我按模块 src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊 fishkuro • 2017-03-25 11:26 怎么弄啊,我src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认...

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

239. 扩展脚本问题,麻烦帮看下 [ 72%]

扩展脚本问题,麻烦帮看下  module game { export class testbox extends Laya.Box { constructor(){ super(); console.log(this.getChildByName('btnName')) } } export class testImg extends Laya.Image { constructor(){ super(); console.log(this.getChildByName('name')) console.log(this) } } } 我...

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

240. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 72%]

...AngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类用于创建渐变角速度。 Public Properties PropertyDefined By  constant : Num...

来源: laya_api 发布时间: 20170929