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

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

71. Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 [ 56%]

...加载管理器,使用时注意大小写。 */ //class Laya var ___Laya=(function(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTi...

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

72. laya.d3.core.Camera_API3.0 [ 56%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

73. spine适配版微信开发者平台报错 [ 56%]

...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2021-12-08 14:57 浏览: 3698 关注: 2 人 northTg • 2021-12-09 11:09 非常感觉提供帮助 ,我这边提供demo的时候发现最新的库是没有问题的 换掉全部相关库后...

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

74. laya.d3.webxr.core.WebXRCamera_API3.0 [ 55%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

75. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 54%]

...状态下播放背景音乐无效的解决方案  SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); if(!url) return null; SoundManager._recoverWebAudio(); url=URL.formatURL(url); if (url!=Sou...

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

76. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 54%]

...rty 'LESS' of null TypeError: Cannot read property 'LESS' of null     at Function.value (http://127.0.0.1:43542/game/li ... :19438)     at Object.value [as init] (http://127.0.0.1:43542/game/li ... 515524)     at new Main (http://127.0.0.1:43542/game/js/bundle.js:267:90)   LESS是LayaGL.insta...

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

77. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 53%]

...父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recover...

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

78. LayaAirIDE2.7版本导出类名不正确问题 [ 53%]

...以看到只在window上挂载了大写Laya的命名空间 window.Laya= (function (exports) { ...... exports.Sprite = Sprite; exports.EffectAnimation = EffectAnimation; ..... return exports; })({}))那么出现这个问题的原因是官方在LayaAirIDE类导出部分的代码有变化,在2.6版...

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

79. laya.events.Event_API3.0 [ 49%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

80. LayaAirID 打包app测试 apk无法开启webgl。用浏览器扫码进入就没问题 [ 47%]

...的。 /** *指定显示对象 *@param index */ __proto.showDisplayByIndex=function(index){ if (this._replaceDic[index]) index=this._replaceDic[index]; if (this.currSlotData && index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=index; this.currDisplayD...

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