大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 图集打包找不到图集文件 laya2的Scene默认是文件模式,不会生成场景类了,此时...
来源: Laya_社区 发布时间: 20190222
...andler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class PerformanceTest_Cartoon { private colAmount = 100; private extraSpace = 50; private moveSpeed = 2; private rotateSpeed = 2; private characterGroup: Array; constructor() { // 不支持WebGL时自动切换至Canvas...
来源: Laya2.0_示例 发布时间: 20260823
...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CEN...
来源: Laya2.0_示例 发布时间: 20260823
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorStateCondition" AnimatorStateNumberCondition Class AnimatorStateNumberCondition Hierarchy AnimatorStateCondition AnimatorStateNumberCondition Index Constructors constr...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/InstanceRenderElement" InstanceRenderElement Class InstanceRenderElement Hierarchy RenderElement InstanceRenderElement Index Constructors constructor Properties _batchElement _render...
来源: Laya3.0_api 发布时间: 20231115
...Callback和Laya.addAfterInitCallback两个函数都能进断点的,唯独export async function main里设的断点无效啊,可以让断点生效吗? 我突然又想到把main里的Laya.Scene.open('Scene.ls');这句代码删掉看看效果。 结果又发现个bug,应该算吧,就是那...
来源: Laya_社区 发布时间: 20250318
...理资源 代码示例: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private mCurrIndex: number = 0; private mArmature: Laya.Skeleton; onStart() { console.log("Game start"); //加载内置骨骼动画资源 Laya.loader.load("skeleton/Dragon/Dragon.sk").t...
来源: Laya3.0_文档 发布时间: 20251010
...ui编辑器上没有摸索到如何处理。只能通过代码处理了。 export class SplitAtlasDialog extends IEditor.Dialog { async create() { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.inspect(data, "SplitAtlasSetting"); t...
来源: Laya_社区 发布时间: 20250702
...demo 版本2.2.0beat3 流程 新建开放域项目 编译 报错Error: Export 'ui' is not defined demo_openData1.zip 2019-08-14 0 0 分享 微博 QZONE 微信 kylin 赞同来自: demo_openData2.zip替换d.ts类库 LayaAir.d_.zip 2019-08-14 0 0 分享 微博 QZONE 微信 kylin 赞同来自: 另外...
来源: Laya_社区 发布时间: 20190814
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 问题状态 最新活动: 2017-07-05 21:24 浏览: 818 关注: 2 人 maliwen0 • 2017-07-06 12:00 我q...
来源: Laya_社区 发布时间: 20170705