大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
Laya_社区(422) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(33) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...0,我想死的心都有了,不单protobuf找不到,我的工程全部module化了,多个文件共用一个模块名,各种导入一塌糊涂 2019-01-19 1 2 分享 微博 QZONE 微信 魏飞黄 赞同来自: 请提供demo 2019-01-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20190117
...ws increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more info. 代码:...
来源: Laya_社区 发布时间: 20190730
...了下tsconfig.json定义,也解决了: "compilerOptions": { "module": "es6", "target": "es6", "noEmitHelpers": true, "sourceMap": false, "lib": [ "DOM", "ES6", "DOM.Iterable", "ScriptHost", ...
来源: Laya_社区 发布时间: 20200520
...; this.rect.y = Laya.stage.height / 2; } } new SmartScale_Scale_NOBORDER();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOBORDER { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage...
来源: Laya2.0_示例 发布时间: 20240930
...2; this.rect.y = Laya.stage.height / 2; } } new SmartScale_Scale_NOSCALE();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOSCALE { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.b...
来源: Laya2.0_示例 发布时间: 20240930
...eView()进行创建,并且都是ide自动生成的代码。 export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSki...
来源: Laya_社区 发布时间: 20190625
...附件,跪求有空的大佬帮我看下是啥原因。 附件 : --> module.zip 2019-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Xiiiyue 赞同来自: 已经解决。部分动画没有设置循环播...
来源: Laya_社区 发布时间: 20190801
...his.rect.y = Laya.stage.height / 2; } } new SmartScale_Scale_EXTRACT_FIT();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_EXTRACT_FIT { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.st...
来源: Laya2.0_示例 发布时间: 20240930
...; this.rect.y = Laya.stage.height / 2; } } new SmartScale_Scale_SHOW_ALL();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage....
来源: Laya2.0_示例 发布时间: 20240930
...stage.width, Laya.stage.height), null); } } new TiledMap_PerspectiveWall();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap; import Rectangle = Laya.Rectangle; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class TiledMap_PerspectiveWall { private tiledMap: ...
来源: Laya2.0_示例 发布时间: 20240930