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

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

441. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...码提供了一个简单的示例,演示了如何使用视频纹理: const { regClass, property } = Laya; /** * 使用视频纹理 */ @regClass() export class Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya....

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

442. laya.ui.HBox [ 50%]

...sses | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherite...

来源: laya_api 发布时间: 20170929

443. [LayaAir3]Laya3.3.5 2D相机drawToRenderTexture2D不生效问题 [ 50%]

...2D,输出的renderTexture2D无法正常渲染。以下是代码部分: const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({type: Laya.Sprite,caption:"测试组件1"})     private testSprite: Laya.Sprite;     @property({type: Laya.Sprite...

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

444. laya.ui.VBox [ 50%]

...sses | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inheri...

来源: Laya2.0_api 发布时间: 20190513

445. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...ts为例,讲解生命周期方法,以下是此脚本文件的代码: const { regClass, property } = Laya; /** * 子弹脚本,实现子弹飞行逻辑及对象池回收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设...

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

446. laya打包native上传Google Play 后台报错 [ 50%]

...fengliu.fkxyr-1/lib/arm64/liblayaair.so (laya::JCScriptRuntime::start(char const*)+148)   #04 pc 0000000000216c6c /data/app/com.fengliu.fkxyr-1/lib/arm64/liblayaair.so (laya::JCConch::onAppStart()+268)   #05 pc 000000000022b84c /data/app/com.fengliu.fkxyr-1/lib/arm64/liblayaair.so (Java_layaair_ga...

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

447. laya.ui.HBox [ 50%]

...sses | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inheri...

来源: Laya2.0_api 发布时间: 20190513

448. [LayaAir3]打包harmonyos next后,运行报错 [ 50%]

...ity/MainAbility.ts:10:52)   定位到MainAbility.ts:10:52 这一句报错 const nativeAppLifecycle: laya.CPPFunctions = laya.getContext(ContextType.APP_LIFECYCLE); 2025-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

449. laya2.1.0打包native版本出现概率闪退,看日志是底层的physical3D.js报错了 [ 50%]

...World() + 20 laya::JSCFunction<void (*)(long)>::call(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, u... + 40   附件 : --> crash.zip 2019-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...

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

450. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 50%]

...ton; import Loader = Laya.Loader; import SpineTemplet = Laya.SpineTemplet; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private skeleton: SpineSkeleton; private index: number = -1; public pageWidth: number; public pageHeight: number; onStart() { console.lo...

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