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

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

41. 程序当中更改适配模式后,没有生效成相对应的适配模式效果是为什么? [ 56%]

...是为什么? 游戏内容当中,检测横竖屏: Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); /** 更改适配*/ public onResize() { var stageWidth = Laya.Browser.clientWidth; var stageHeight = Laya.Browser.clientHeight; if (stageWidth < stageHeight) { console.log("one", Laya...

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

42. laya.display.Stage [ 56%]

... All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage ...

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

43. [LayaAirIDE3]xcode切入切出声音不播放 [ 48%]

...切入切出,导致背景声音不播放问题。  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

44. 微信小游戏加载资源问题 [ 47%]

...completeHandler], false); this.completeHandler = null; } this.stop(); this.event(Laya.Event.COMPLETE); return; } if (this.loops > 0) { this.loops--; } this.startTime = 0; this.play(); } play() { this.isStopped = false; Laya.SoundManager.addChannel(this); this._audio.play(); } set startTime(time) ...

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

45. laya.ui.TextArea [ 41%]

...ll Classes | Index | Frames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited...

来源: laya_api 发布时间: 20170929

46. laya.ui.TextInput_API3.0 [ 41%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

47. laya.ui.TextArea [ 40%]

...ll Classes | Index | Frames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherit...

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

48. laya.display.Input_API3.0 [ 39%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getCom...

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

49. laya.display.Stage_API3.0 [ 38%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event exitFullscreen frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex ge...

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

50. laya.ui.TextArea_API3.0 [ 33%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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