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

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

411. laya.particle.ParticleTemplate2D_API3.0 [ 36%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

412. laya.media.VideoTexture_API3.0 [ 36%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

413. 屏幕适配 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...添加与控制的,在stage范围内,可以控制显示、进行事件监听,碰撞检测等,所以对stage宽高的适配还是非常重要的。 在DevTools控制台,我们可以通过引擎API(Laya.stage.width和Laya.stage.height),查看舞台宽高。 2、LayaAir屏幕适配模式详...

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

414. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...大的Spine资源放到预加载的队列中,提前进行加载。 或者监听Laya.Event.READY事件,再进行逻辑处理。 示例代码如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine3D: Laya.Spine3DRenderer; onAwake(): void { // 加载...

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

415. 为什么会出现报错 ani not found:ufo1_down [ 35%]

...ero.pos(200,500); // 放置到舞台上 Laya.stage.addChild(this.hero); // 监听舞台的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,onMouseMove); // 手动创建敌人 // createEnemy(10); // 定时器自动循环创建敌人 Laya.timer.frameLoop(1,this,onLoop); } function onLoop() ...

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

416. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 34%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher oldparseEndEvent oldparseEndEvent(): void Inherited from Material.oldparseEndEvent Defined in laya/d3/core/material/Material.ts:850 Returns void on on(type: s...

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

417. laya.resource.VideoTexture_API3.0 [ 34%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

418. laya.resource.Texture_API3.0 [ 33%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

419. 统计信息 · LayaAir3.4 · 引擎文档 · LAYABOX [ 33%]

...做碰撞组/层过滤;减少触发器覆盖;避免无意义的 Stay 监听 数量下降且玩法不受影响 C_Physica*/C_PhysicsJoint 数量过大或不回落 物理对象未销毁/未移除 检查生命周期;场景切换释放;避免重复创建 切场景后数量回落到稳定 9.1 P...

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

420. laya.d3.resource.TextureCube_API3.0 [ 32%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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