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

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

451. 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

452. [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

453. 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

454. 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

455. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 50%]

...s ParticleShaderValue 2D粒子 Hierarchy Value2D ParticleShaderValue Index Constructors constructor Properties ALPHA alpha clipMatDir clipMatPos clipOff color colorAdd defines filters mainID mmat ref shader size subID texture textureHost u_CurrentTime u_Duration u_EndVelocity u_Gravity u_MvpMatrix u...

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

456. Spine骨骼动画 · LayaAir3文档 · LAYABOX [ 49%]

...首先加载Spine动画资源,然后添加spine组件。 代码示例: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite }) public sprite: Laya.Sprite; private spine: Laya.Spine2DRenderNode; private index: number = -1; //...

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

457. laya.events.MouseManager [ 49%]

...lasses | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶段、冒泡阶段。 捕获阶段:此...

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

458. 设置后box2d 的 worldRoot 后平移场景 物理世界原地不动 [ 49%]

...赞同来自: 是要模仿镜头移动功能吗,这样可以 onAwake() { const self = this; self.gameObj = self.owner as Laya.Sprite; Laya.Physics.I.worldRoot = self.gameObj; this.cameraRect = new Laya.Rectangle(0, 0, 2000, 1000); this.gameObj.scrollRect = this.cameraRect; } onUpdate() { this.came...

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

459. [0]Event.Mouse_Drag和Event.Mouse_Drag_End在不注册鼠标事件的情况下无法 [ 49%]

...ouse_Drag和Event.Mouse_Drag_End在不注册鼠标事件的情况下无法 const MOUSE_EVENTS = new Set([         Event.MOUSE_DOWN, Event.MOUSE_UP, Event.MOUSE_MOVE, Event.CLICK, Event.DOUBLE_CLICK,         Event.RIGHT_CLICK, Event.RIGHT_MOUSE_DOWN, Event.RIGHT_MOUSE_UP,         Event.MO...

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

460. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 49%]

...;             if (node._zOrder)                 this._setBit(Const.HAS_ZORDER, true);             if (node._parent === this) {                 var index = this.getChildIndex(node);                 if (index !== this._children.length - 1) {                 ...

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