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

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

151. typescript的版本能不能更新 [ 76%]

...成export, 我是用webpack打包js的, 如果需要某个ui, 我在jsimport就可以了, 2018-07-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Ts 环境是自己安装的 ,一帖...

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

152. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 76%]

...e,                        /* Do not emit outputs. */     // "importHelpers": true,                 /* Import emit helpers from 'tslib'. */     // "downlevelIteration": true,            /* Provide full support for iterables in 'for-of', spread, and destructuring when ta...

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

153. Typescript 每次都重新生成index.html [ 76%]

...次生成覆盖呢?因为js顺序问题,自定义的类,无法使用import 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: index.html不是重新生成的。。...

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

154. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 76%]

...没有说明代码放在什么文件和怎么调用;hello那个没有提import。   2.我就是自建文件,然后在Main.jsimport它了。 这是官方的方式吗?   3.我的报错  TypeError: Cannot set property 'mFontName' of undefined   at Object.2 (file:///D:/Git/Laya/myLayaJS/bin...

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

155. 2.0 Beta3版本中,runtime脚本的的问题 [ 76%]

...atically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("BGPage...

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

156. laya1.0项目迁移2.0 [ 76%]

...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 需要import 才会编译 2019-04-11 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 139*****908 相关问题 TS项目使用matter.js库无智能提示 用了第三方so...

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

157. 图集打包后使用Texture不显示,项目整个已经传上来了 [ 75%]

...载完成的回调里去获取你的texture并drawTexture // 程序入口 import Loader = Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; class GameMain{ constructor() { Laya.init(600,400); this.hahaha(); } private hahaha(): void { var assets: Array<any> = []; assets...

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

158. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 75%]

Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...

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

159. 用的2.0.0beta2,为什么发布为小游戏不会生成code.js[ 75%]

...c/Main.js"></script>,会报错。 SyntaxError: Unexpected token import preload.js:55 SyntaxError: Unexpected token import 附件 : --> 2018-09-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 hj 赞同...

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

160. layaAir支持xml加载和使用吗 [ 75%]

...链接 提交 1 个回复 cuixueying 赞同来自: 代码如下package { import laya.net.Loader; import laya.utils.Handler; public class XmlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded()...

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