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

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

331. [LayaAirIDE3]xcode切入切出声音不播放 [ 68%]

...切入切出,导致背景声音不播放问题。  Laya.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.stage.on(Laya.Event.FOCUS, this, this.onFocus);  private onBlur() {         // 暂停所有需要停止的逻辑         console.log("onBlur");         SoundManager.Instance.pau...

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

332. 加载的时候动画会卡 [ 68%]

... Lload.__super.call(this);         this.dh();         this.btn.on(Event.MOUSE_DOWN,game,this.toquanjing);         Laya.propertyIsEnumerable = true;     }     Laya.class(Lload,"Lload",ui.loadUI);     Lload.prototype.dh = function(){         this.ani1.play(0,true);         Tw...

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

333. laya.events.Keyboard_API3.0 [ 68%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/Keyboard" Keyboard Class Keyboard Keyboard 类的属性是一些常数,这些常数表示控制游戏时最常用的键。 Hierarchy Keyboard Index Properties A ALTERNATE B BACKQUOTE BACKSLASH BACKSPACE C CAPS_LOCK C...

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

334. laya.physics.PhysicsDebugDraw [ 68%]

...es | Index | Frames No Frames PhysicsDebugDrawProperties | Methods | Events Packagelaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properti...

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

335. laya.media.SoundChannel [ 68%]

...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...

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

336. laya.html.dom.HTMLIframeElement_API3.0 [ 68%]

...ns customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get...

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

337. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 68%]

...ar sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer"); } private completeHandler(data:Object):void{ //加载完成返回的data是arraybuffe...

来源: Laya2.0_文档 发布时间: 20210714

338. laya.display.EffectAnimation_API3.0 [ 68%]

...aying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent ...

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

339. laya.d3.core.ParticleRender [ 67%]

...3.coreClasspublic class ParticleRenderInheritanceParticleRender BaseRender EventDispatcher Object ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取包围盒,不允许修改其值。 BaseRender boundi...

来源: laya_api 发布时间: 20170603

340. laya.d3.core.GlitterRender [ 67%]

....d3.coreClasspublic class GlitterRenderInheritanceGlitterRender BaseRender EventDispatcher Object ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取包围盒,不允许修改其值。 BaseRender boundi...

来源: laya_api 发布时间: 20170929