大约有 1,533 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
...成export, 我是用webpack打包js的, 如果需要某个ui, 我在js中import就可以了, 2018-07-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Ts 环境是自己安装的 ,一帖...
来源: Laya_社区 发布时间: 20180704
...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
...次生成覆盖呢?因为js顺序问题,自定义的类,无法使用import 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: index.html不是重新生成的。。...
来源: Laya_社区 发布时间: 20180322
...没有说明代码放在什么文件和怎么调用;hello那个没有提import。 2.我就是自建文件,然后在Main.js里import它了。 这是官方的方式吗? 3.我的报错 TypeError: Cannot set property 'mFontName' of undefined at Object.2 (file:///D:/Git/Laya/myLayaJS/bin...
来源: Laya_社区 发布时间: 20180919
...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
...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 需要import 才会编译 2019-04-11 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 139*****908 相关问题 TS项目使用matter.js库无智能提示 用了第三方so...
来源: Laya_社区 发布时间: 20190410
...载完成的回调里去获取你的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
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
...c/Main.js"></script>,会报错。 SyntaxError: Unexpected token import preload.js:55 SyntaxError: Unexpected token import 附件 : --> 2018-09-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 hj 赞同...
来源: Laya_社区 发布时间: 20180923
...链接 提交 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