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

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

441. [LayaAir3]【Laya3.2.0】3D导航导航navAgent.getCurrentPath()接口报错 [ 52%]

...Object undefined 自定义场景类导出layaMaxUI.ts有前缀导致报错 module写法的模块无法使用,其他地方使用会报错 laya2 发布微信开放域工程,用微信开发者工具打开报错 请问,再native中,有没有接口,可以实现刷新游戏 laya2.1.0版本conchM...

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

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

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

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

443. 屏幕适配-缩放-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_示例 发布时间: 20260303

444. 屏幕适配-缩放-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_示例 发布时间: 20260303

445. 内嵌模式创建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

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

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

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

447. 屏幕适配-缩放-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_示例 发布时间: 20260303

448. 屏幕适配-缩放-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_示例 发布时间: 20260303

449. 区块地图-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_示例 发布时间: 20260303

450. laya2.0 ts脚本需要 import ** from ** 问题 [ 52%]

...是参考这些文章修改的.不行. https://www.tslang.cn/docs/handbook/module-resolution.html   https://decembersoft.com/posts/say-goodbye-to-relative-paths-in-typescript-imports/​        2018-09-20 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已...

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