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

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

61. 如何才能生成scene配套的代码 [ 76%]

...的代码 在demo里有个类TestSceneUI 请问如何才能生成 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ package ui.test { import laya.ui.*; import laya.display.*; public class TestSceneUI extends Scene { public var scoreLbl:Label; public var...

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

62. 使用HTMLIframeElement加载html网页的问题。 [ 76%]

...demo附件) html文件应该以什么标准来写? [error] Undefined class: table [error] Undefined class: tr [error] Undefined class: td 附件 : --> AddHtml.zip 2017-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

63. event自定义事件的问题 [ 76%]

...是testDemo LayaSample类: package { import laya.display.Sprite; public class LayaSample extends Sprite{ public static var event:String = "event"; public function LayaSample() { super(); //初始化引擎 Laya.init(1136, 640); var re:Revent = new Revent(); var de:DisEvent = new DisEvent(); } } } R...

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

64. 程序调试10秒钟后报错 [ 76%]

...son: Can't find a target that matches: d:\install\LayaBox\workspace\AirWar_Class11/bin/index.html.Available pages:["file:///D:/install/LayaBox/workspace/AirWar_Class11/bin/index.html"]) 附件 : --> 2016-12-30 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

65. 怎么在api中找到 Laya.loader.load [ 76%]

...了Laya。 http://layaair.ldc.layabox.com/api/index.html?category=Core&class=Laya 但是里面貌似只有一个loader https://layaair.ldc.layabox.com/api/#loader 打开这里面也没有关于load的详细说明。 在论坛里看到,好像详细说明是在这里 http://layaair.ldc.layabox.c...

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

66. laya.net.LocalStorage [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LocalStorageProperties | Methods Packagelaya.netClasspublic class LocalStorageInheritanceLocalStorage Object LocalStorage 类用于没有时间限制的数据存储。 Public Properties PropertyDefined By  _baseClass ...

来源: laya_api 发布时间: 20170929

67. laya.net.LocalStorage [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LocalStorageProperties | Methods Packagelaya.netClasspublic class LocalStorageInheritanceLocalStorage Object LocalStorage 类用于没有时间限制的数据存储。 Public Properties PropertyDefined By  _baseClass ...

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

68. 动画-图集动画 [ 76%]

...E让项目开发更高效。let aniConfPath = "res/fighter/fighter.atlas"; class Animation_Altas { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stag...

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

69. @regClass编译报错! [ 76%]

@regClass编译报错! 去掉CtrBase里的@regClass 就不报错! 再或者CtrBase 不引用funzzzzz 或者 funzzzzz不引用MachineCtrl 也不会报错。已经是最精简的就三个类,每个一行代码。上网查 升级了webpack也没用。   写了构造函数也没用 bundle编译...

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

70. 区块地图-带动画的地图 [ 76%]

...dMap; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class TiledMap_AnimationTile { private tiledMap: TiledMap; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER;...

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