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

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

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. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 68%]

...(this.x + this.width) < this.maxRight){ this.isOutComplete = true; this.event(Floor.OUT_COMPLETE, this); }else if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(F...

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

893. 微信小游戏加载资源问题 [ 68%]

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

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

895. API里 Tab控件的的内容为什么看不到的 [ 68%]

...nherited Public Methods Protected Methods Show Inherited Protected Methods Events Show Inherited Events 都有什么属性、什么事件都不知道的... 2017-07-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

896. web打包 [ 68%]

...js:32159)     at Loader._onHierarchylhLoaded (laya.d3.js:32274)     at EventHandler.runWith (laya.core.js:1000)     at Loader.event (laya.core.js:1039)     at Loader.complete (laya.core.js:18862)     at Loader.onLoaded (laya.core.js:18818)     at EventHandler.runWith (laya.core.js:998) ...

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

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

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

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

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