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

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

161. 粒子在webgl情况和canvas情况存在显著差异,请看图 [ 50%]

...../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { data = { "minStartColor": { "0": 1, "1": 0, "2": 0, "3": 1 }, "boxEmitterVelocity": { "0": 0, "1": 0, "2": 0 }, "minHorizontalStartRadian": ...

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

162. laya.particle.Particle2D_API3.0 [ 49%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

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

163. laya.media.SoundNode_API3.0 [ 49%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

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

164. 背景音乐来回切换报错 [ 49%]

...null         Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){             dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3")         }))          let mainSound:Laya.SoundChannel = null;         this.btn_sound.on(Laya.Event.C...

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

165. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 49%]

...ror(err => { console.error("MgInnerAudioChannel: " + getErrorMsg(err)); this.stop(); });  报错位置在getErrorMsg解析错误信息, 最终导致的结果是什么呢, 无法播放长音频, 然后我把这个这段捕获错误的代码注释掉就能够正常播放. 具体报错的原因...

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

166. laya.ani.bone.Skeleton_API3.0 [ 48%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

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

167. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 47%]

...lor = "#ffcccc"; var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(...

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

168. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 47%]

...bgColor = "#ffcccc"; var div = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stag...

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

169. laya.ui.FontClip_API3.0 [ 46%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

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

170. 打包安卓Android studio黑屏 [ 44%]

...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...

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