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

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

891. 程序蓝图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 68%]

...图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

892. layaair2-cmd无法编译 [ 68%]

...  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

893. 谷歌浏览器 不触发 ROLL_OVER 事件 [ 68%]

...罩点击事件 微信小游戏与加载图片时不会触发erroe事件 event自定义事件的问题 问题状态 最新活动: 2018-04-04 11:17 浏览: 781 关注: 3 人 157*****121 • 2018-04-04 11:45 引擎是最新的,这个是谷歌浏览版本的问题,可能没兼容到低版本,其...

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

894. MovieClip的target和currentTarget属性为undefined? [ 68%]

...){ 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

895. laya.d3.core.material.EffectMaterial_API3.0 [ 68%]

...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

896. request failed status:0 text: IOS HttpRequest [ 68%]

... text:  dome 如下 ( IOS 浏览器 和 火狐浏览器) 打开 直接Event.ERROR  不会进入  Event.COMPLETE 点击(点我赋值) 或者 (发送请求) 按钮 模拟器成功 火狐或者ios 浏览器失败 附件 dome ifarmLayaT.zip   附件 : --> 2017-06-20 1 条评论 免费帖...

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

897. laya.d3.core.trail.TrailMaterial_API3.0 [ 68%]

...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

898. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 68%]

...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

899. Laya RigidAnimations [ 68%]

...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

900. Unity导出的特效,怎么缓存让第一次加载的时候不卡呢 [ 68%]

...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