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

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

21. 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' [ 92%]

升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' 将tsconfig.json里的"target":"es6"改为"es5"会报错: Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new'   会升级到2.2.0Beta主要是看升级日志里,这个...

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

22. 构建好android studio项目后,debug出错 [ 92%]

...efined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at eval (native) at Document._downl...

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

23. LayAir的视图编辑器不会移除旧的ui [ 92%]

...ui移动目录之后,发布视图。会在ui目录产生一个新的ui class.但是不会移除旧的uiclass 而之前的逻辑,引用的还是旧的ui class。导致一些可能忽略的异常。 2017-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

24. laya.ui.UIUtils_API3.0 [ 91%]

...l Inherited Externals Only exported Menu Globals "laya/ui/UIUtils" UIUtils Class UIUtils UIUtils 是文本工具集。 Hierarchy UIUtils Index Methods fillArray gray toColor Methods Static fillArray fillArray(arr: any[], str: string, type?: typeof Number | typeof String): any[] Defined in laya/ui/UI...

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

25. laya.ui.Styles_API3.0 [ 91%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Styles" Styles Class Styles Styles 定义了组件常用的样式属性。 Hierarchy Styles Index Properties buttonLabelColors buttonStateNum comboBoxItemColors defaultSizeGrid inputLabelPadding labelColor labelPadding scrollBarDelayTime sc...

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

26. laya.ui.StatUI_API3.0 [ 91%]

...All Inherited Externals Only exported Menu Globals "laya/ui/StatUI" StatUI Class StatUI Hierarchy StatUI Implements IStatUI Index Methods hide render show showToggle update Methods hide hide(): void Implementation of IStatUI.hide Defined in laya/ui/StatUI.ts:61 override 隐藏性能统计信息。 R...

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

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

新手入坑请教下各位大神关于LayaMaxUI问题 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { ex...

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

28. UI-Image [ 91%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class UI_Image { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage...

来源: Laya2.0_示例 发布时间: 20240929

29. must set document class! [ 91%]

must set document class! 编译时出来的一个弹框。没有更多提示。 2018-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 需要设置启动类 2018-07-06 0 0 分享 微...

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

30. UI-List [ 90%]

...ild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var List = Laya.List; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, Web...

来源: Laya_示例 发布时间: 20240929