大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...图12-3所示。 (图12-3) 3.4 事件 需要在@bpClass标签中加入events,示例代码如下所示: const { bpClass, bpFunction } = BP; @bpClass({ name: "TestEvents", extends: "Sprite", construct: { params: [ { "name": "eee", "type": "string" } ] }, events: [{ name: "onTest", params: [{ n...
来源: Laya3.0_文档 发布时间: 20251010
... layaair2-cmd compile报错 [15:46:08] Starting 'compile'... stderr: events.js:167 throw er; // Unhandled 'error' event ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' exit:1 但是我是新创建的代码,一行代码都没改动 附件 ...
来源: Laya_社区 发布时间: 20190924
...罩点击事件 微信小游戏与加载图片时不会触发erroe事件 event自定义事件的问题 问题状态 最新活动: 2018-04-04 11:17 浏览: 781 关注: 3 人 157*****121 • 2018-04-04 11:45 引擎是最新的,这个是谷歌浏览版本的问题,可能没兼容到低版本,其...
来源: Laya_社区 发布时间: 20180404
...){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); trace(e.target); MovieClip(e.currentTarget).gotoAndStop(MovieClip(e.target).count-1); } AS3代码是这样的,但是COMPLE...
来源: Laya_社区 发布时间: 20161221
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
... text: dome 如下 ( IOS 浏览器 和 火狐浏览器) 打开 直接Event.ERROR 不会进入 Event.COMPLETE 点击(点我赋值) 或者 (发送请求) 按钮 模拟器成功 火狐或者ios 浏览器失败 附件 dome ifarmLayaT.zip 附件 : --> 2017-06-20 1 条评论 免费帖...
来源: Laya_社区 发布时间: 20170620
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...yName' of undefined at RigidAnimations.__proto._init (laya.d3.js:27913) at EventHandler.__proto.runWith (laya.core.js:674) at AnimationTemplet.__proto.event (laya.core.js:458) at AnimationTemplet.__proto._endLoaded (laya.ani.js:3154) at AnimationTemplet.__proto.onAsynLoaded (laya.ani.js:3186) at Res...
来源: Laya_社区 发布时间: 20170922
...dmc_skycity_attack1/.lh")); effect.once(Laya.Event.HIERARCHY_LOADED, this, function(){ var particle = effect.getChildAt(0).getChildAt(0).particleSystem; particle.on(Laya.Event.COMPLETE, this, functi...
来源: Laya_社区 发布时间: 20170614