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

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

91. the server responded with a status of 404 (Not Found) [ 59%]

...e/base.d.ts' not found. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found Swift中接入其他都正常,但是在你们的conchConfig中,报错'string' file not found fatal error: 'string' file not found 2.0动效模板,报错 can not found c...

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

92. 请问 layaair2.0的js有没有api可以查询 例如Laya.Script [ 57%]

...? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 请问下怎么引入第三方库 请问layaair2.0-js 怎么用程序在list中添加...

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

93. 2.0版本可用的CameraMoveScript.ts [ 56%]

...架 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 求助关于TiledMap的版本问题 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 动画混合无效(版本2.6) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语...

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

94. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 55%]

...e'. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 关于使用matterjs物理引擎鼠标问题 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 问题状态 最新活动: 2018-01-12 09:31 浏览: 3350 关注: ...

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

95. 请问HtmlDivElement控件在innerHTML中有<div>标签的情况下获取实际宽高为0的问题? [ 54%]

...确 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 如何设置Sprite的宽高和点击区...

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

96. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 53%]

...代码若干,仅展示api从初始化到接口使用的基础流程 */ import Browser = Laya.Browser; export default class GameRecorderMgr { /**录屏实例**/ private _recorder: any; static _instance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorde...

来源: Laya2.0_文档 发布时间: 20210715

97. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 52%]

...变回设置的颜色,而整个流程中我并没有设置过蓝色字。import { ui } from "../../ui/layaMaxUI"; import GameData from "../game/GameData"; import IHttpResponse from "../../network/interfaces/IHttpResponse"; import Notice from "../../utils/Notice"; export default class AuthReg exten...

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

98. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 51%]

... }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群里有大神提供了一种解决办法: 右键 LayaAirIDE.app-&gt;显示包内容,定位到 Contents-&gt;Resources-&gt;app-&gt;node_modules-&gt;rollup-&gt;dist...

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

99. laya加载unity插件导出的场景 physics3D is not a function [ 51%]

...请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: import { ui } from "./../ui/layaMaxUI"; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方...

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

100. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...面这两个TS代码: //MyScript.ts const { regClass, property } = Laya; import Animal from "./Animal"; @regClass() export class MyScript extends Laya.Script { @property({ type : Animal }) animal : Animal; } //Animal.ts const { regClass, property } = Laya; @regClass() export default class Animal {...

来源: Laya3.0_文档 发布时间: 20251010