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

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

421. [ts] “protobuf”指 UMD 全局,但当前文件是模块。请考虑改为添加导入。 [ 52%]

...0,我想死的心都有了,不单protobuf找不到,我的工程全部module化了,多个文件共用一个模块名,各种导入一塌糊涂 2019-01-19 1 2 分享 微博 QZONE 微信 魏飞黄 赞同来自: 请提供demo 2019-01-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

422. 多scene3d报内存不足问题 [ 52%]

...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

423. 使用了Async之后报错提示没有tslib [ 52%]

...了下tsconfig.json定义,也解决了: "compilerOptions": {     "module": "es6",     "target": "es6",     "noEmitHelpers": true,     "sourceMap": false,     "lib": [       "DOM",       "ES6",       "DOM.Iterable",       "ScriptHost",      ...

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

424. 屏幕适配-缩放-No Border [ 52%]

...; 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

425. 屏幕适配-缩放-No Scale [ 52%]

...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

426. 内嵌模式创建scene,运行时报找不到json文件 [ 52%]

...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

427. U3D导出模型,无法播放动画(在U3D预览也没),求看下具体原因 [ 52%]

...附件,跪求有空的大佬帮我看下是啥原因。   附件 : --> module.zip 2019-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Xiiiyue 赞同来自: 已经解决。部分动画没有设置循环播...

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

428. 屏幕适配-缩放-Extract Fit [ 52%]

...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

429. 屏幕适配-缩放-Show All [ 52%]

...; 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

430. 区块地图-PerspectiveWall [ 52%]

...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