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

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

51. Laya_API3.0 [ 67%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "Laya" Laya Class Laya Laya 是全局对象的引用入口集。 Laya类引用了一些常用的全局对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,...

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

52. Laya2.0 模块 [ 67%]

Laya2.0 模块 官方用2.0 export 和import 爽吗??????????????????????????????????? 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

53. ts项目 模块问题 [ 66%]

...s项目 模块问题 b文件写了个class ,怎么在a文件new class? export 显示未定义,require也用不了   //b文件 export default class player extends Laya.Sprite { constructor() { super(); this.pivot(this.width / 2, this.height / 2); this.graphics.drawRect(0, 0, this._size, this._...

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

54. 2.0版本 CameramoveScript添加就报错 [ 66%]

... 2020-09-14 17:43 已经引用了。引用之后需要在class前面加入export default 132*****260 • 2020-09-11 18:57 我也是这样的问题

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

55. 内嵌模式创建scene,运行时报找不到json文件 [ 65%]

...createView()进行创建,并且都是ide自动生成的代码。     export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","sty...

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

56. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 65%]

...og; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene {         public scoreLbl:Laya.Label;         public tipLbll:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren...

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

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

... 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 property 'create' are incompatible.   ...

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

58. laya1.8版本发布vivo小游戏 [ 65%]

... 微信 平凡 赞同来自: 我用laya1.8打包 报错   ReferenceError: exports is not defined 2019-11-07 0 0 分享 微博 QZONE 微信 陆仁毅 赞同来自: 你已经改了编译相关了,小游戏环境和web环境是有区别的,像不支持eval,像这种层面的适配可以能要自...

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

59. 实例化 laya.ani.bone.Skeleton 对象报错 [ 65%]

实例化 laya.ani.bone.Skeleton 对象报错 export default class showSpine extends Laya.Script{ constructor() { super(); //创建一个Skeleton对象 //Laya let skeleton: laya.ani.bone.Skeleton = new laya.ani.bone.Skeleton(); } } 实例化报错 为啥 2018-09-28 添加评论 免费帖 --> 分享...

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

60. ts项目发布的时候报错 [ 65%]

...s.js:160 throw er; // Unhandled 'error' event ^ Error: spawn tsc ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:359:16) at _combinedTickCallback (internal/process/next_tick.js:74:11...

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