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

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

701. laya2.0 IDE继承自定义类要怎么写? [ 46%]

...改为自己使用的版本! /Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/layabuilder.max.js 用windows的同学请自行找目录哈。 2.找到下面代码,具体行号不同版本可能不一样,仅供参考     24522                         if...

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

702. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 46%]

...paths": {       "tslib": [         "D:/Programs/LayaAirIDE/resources/app/node_modules/tslib/tslib.d.ts"       ]     },      "lib": [       "esnext",       "dom",       "es2015.promise"     ]   } } 2020-07-07 0 0 分享 微博 QZONE 微信 为...

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

703. laya.d3.core.render.posteffect.GaussianDoF_API3.0 [ 46%]

...id Defined in laya/d3/core/render/PostEffect/GaussianDoF.ts:63 GaussianDOF resource init Returns void Globals "laya/d3/core/render/PostEffect/GaussianDoF" GaussianDoF constructor active farEnd farStart maxRadius effectInit release render init Legend Class Class with type parameter Constructor Method...

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

704. laya.d3.core.material.BlinnPhongMaterial [ 46%]

...ic class BlinnPhongMaterialInheritanceBlinnPhongMaterial BaseMaterial laya.resource.Resource BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  albedoColor : Vector4 获取反照率颜色...

来源: Laya2.0_api 发布时间: 20190513

705. 编辑器选择分离模式生成TS代码时能自动在createChildren里加上createView调用代码么? [ 45%]

...的路径是:点击编辑器那个app,右键显示包内容:Contents/Resources/app/node_modules/layacmd/ProjectExportTools/LayaAirCmdTool.max.js windows下你用搜索工具搜一下。打开这个js之后读一下行号为21205:CodeManager.createByDir这个函数。。这个函数是导出u...

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

706. LayaAir2在编辑器里面新建默认的3D项目(TS语言),无法完成编译和运行。 [ 45%]

...----- [19:13:20] Working directory changed to C:\GreenSoft\LayaAirIDE_beta\resources\app [19:13:20] Using gulpfile ~\Documents\LayaBox2\Demo_MyLaya3DWithWechat2\.laya\gulpfile.js [19:13:20] Starting 'default'... [19:13:20] Finished 'default' after 434 ms -------------------------------------- 编译...

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

707. laya.ui.Button_API3.0 [ 45%]

...age.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创...

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

708. laya.ui.CheckBox_API3.0 [ 45%]

...age.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var checkBox:CheckBox = new CheckBox("resource/ui/check.png", "这个...

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

709. [LayaAirIDE3]iOS背景音乐循环播放,在一遍播完下一遍开始的时候音频长度会变成0.0001秒,发出哒哒哒的声音 [ 45%]

...:18.3.2   不需要什么操作,调一下Laya.SoundManager.playMusic("resources/Audio/audioBgm.mp3", 0);等着就行了,期间不要停掉BGM播放或者切后台 可能第二轮BGM,也可能第三轮就会开始哒哒哒,五轮以内必哒哒哒 附件 : --> audioBgm.zip 2025-04-15 添...

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

710. 2.5.0无法打包oppo的rpk [ 45%]

...s.js:20:18)     at Object.<anonymous> (D:\LayaGame\LayaAirIDE2.5.0\resources\app\out\layarepublic\oppo\quickgame-toolkit\lib\commands\cocos_v2.js:85:16)     at Module._compile (internal/modules/cjs/loader.js:689:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700...

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