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

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

251. ts 中能使用 装饰器吗 [ 70%]

...自: @快雪时晴 大佬我发现  LayaAir IDE 2.5.0beta\resources\app\node_modules  目录下一直有tslib模块,但是编译还是会报 “This syntax requires an imported helper but module 'tslib' cannot be found”错误,不管noEmitHelpers是不是=false。(两天了,我实在找...

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

252. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 70%]

...xel normalBias probePosition type viewBias Methods _VolumeChange _addRenderNode _cloneTo _initialize _motionInVolume _onDestroy _reCaculateBoundBox _removeRenderNode _setOwner applyVolumetricGI destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onR...

来源: Laya3.0_api 发布时间: 20231115

253. laya.d3.physics.PhysicsCollider_API3.0 [ 70%]

...d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:3...

来源: Laya3.0_api 发布时间: 20231115

254. Laya如何使用Promise、async、wait分享! [ 70%]

...:npm install tslib   或  npm  i , 会构建出该项目本地的node_modules 如下: 这样就可以正常运行了。 参考资料,Layabox2.3.0如何配置代码编辑器(WebStorm2019):http://blog.asroads.com/post/3f34ea36.html       解决方法2:在tsconfig.js中配置添加l...

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

255. [LayaAir3]Laya.Scene.Open的param参数没有传入runtime脚本的onOpen [ 70%]

...onAwake()与onEnable()调用时机存在问题 子节点的 getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。参数是什么 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, Dispather.event参数传的是数组,为什...

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

256. 编译的时候提示找不到gulp [ 69%]

...种配置 2020-04-06 0 2 分享 微博 QZONE 微信 kylin 赞同来自: 把node的版本降到10试试 2020-04-06 0 0 分享 微博 QZONE 微信 icecia 赞同来自: 这个是2.5.0没问题,2.6.0beta出问题的那台电脑 这是2.5.0的f6编译界面,正常编译 这是2.6.0beta的f6编译界...

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

257. laya.d3.component.Animator_API3.0 [ 69%]

...etCurrentAnimatorPlayState getDefaultState hasHideFlag linkSprite3DToAvatarNode onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play removeState unLinkSprite3DToAvatarNode Constructors constructor new Animator(): Animator Overrides Componen...

来源: Laya3.0_api 发布时间: 20231102

258. 1.7.9 UI编辑器编辑页面后发布,资源不会打包 [ 69%]

...Object.<anonymous> (D:\ruanjian\LayaAirIDE_1.7.10_beta\resources\app\node_modules\layacmd\print.js:8:18) at Object.<anonymous> (D:\ruanjian\LayaAirIDE_1.7.10_beta\resources\app\node_modules\layacmd\print.js:113:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (mo...

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

259. [0]3.0.7版本打包vivo第一次正常,第二次必然报错,除非重启电脑才能打包 [ 69%]

...一次正常,第二次必然报错,除非重启电脑才能打包, node版本也是官方推荐的14.16.1,太蛋疼了   附件 : --> 2023-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞...

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

260. laya.d3.core.light.DirectionLightCom_API3.0 [ 69%]

...lor Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:3...

来源: Laya3.0_api 发布时间: 20231115