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

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

11. 导出代码会删除代码 [ 78%]

导出代码会删除代码 var REGFunction = Laya.ClassUtils.regClass;只有清理重新导出才会在 layaMaxUI.ts 生成 这句代码     当使用导出代码(不导出资源)会吧这句代码删除导致报错     是不是每次改动都需要清理导出才可以吗? 2020-0...

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

12. 分享:关于自定义场景继承的实现 [ 76%]

...from "../script/base/BaseScene"; import BaseScene=base.BaseScene; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class CustomSceneUI extends BaseScene { public txt_hello:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Custo...

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

13. layaMaxUI.ts没有自动生成场景类代码 [ 73%]

...ew=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; 2019-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 1566554748用户 检...

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

14. Laya2.2问题,有没有遇到的? [ 72%]

Laya2.2问题,有没有遇到的? 子域所有代码 (function () { 'use strict';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none";...

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