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

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

181. 为什么不能加载多个模型 [ 82%]

...照文档中 Laya.loader.create("LayaScene_layabox/Library/unity default resources-Quad.lm",Laya.Handler.create(this,this.onCreateComplete)); Laya.loader.create("LayaScene_layabox/Library/unity default resources-Capsule.lm",Laya.Handler.create(this,this.onCreateComplete)); private onCreateComplete()...

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

182. laya.d3.resource.RenderTexture [ 81%]

... No Frames RenderTextureProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Bitmap //RenderTexture 类用于创建渲染目标。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...

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

183. 扩展主机意外终止。请重新加载窗口以恢复 [ 81%]

...现这个问题,与git扩展有关,删除即可。 找到 IDE根目录\resources\app\extensions\目录下的 git目录, 直接将git目录整个删除,然后重启IDE。可解决。 2018-06-28 1 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你先换个版本试试吧,如果你稍...

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

184. [LayaAir3]unknown script 'NavHelper.getNavMeshData' [ 81%]

... unknown script 'NavHelper.getNavMesh2DConfigDatas' at /D:/laya/LayaAirIDE/resources/app.asar/game.js:2     unknown script 'NavHelper.getNavMeshData' at /D:/laya/LayaAirIDE/resources/app.asar/game.js:2       TypeError: Cannot read properties of undefined (reading 'agents') at /D:/laya/LayaAirID...

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

185. 关于资源的自动释放 [ 81%]

关于资源的自动释放 您好: 我阅读了ResourceManager与Resource的代码,发现在gc的时候,并没有检查Resource的referenceCount。 只是检查了资源的最后使用的帧数_lastUseFrameCount。 也没有发现有哪里调用了Resource.destroyUnusedResources方法。 请...

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

186. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 80%]

...// 图片资源来自“引擎API使用示例” private skins: any[] = [ "resources/res/ui/checkbox (1).png", "resources/res/ui/checkbox (2).png", "resources/res/ui/checkbox (3).png", "resources/res/ui/checkbox (4).png", "resources/res/ui/checkbox (5).png", "resources/res/ui/checkbox (6).png" ]; co...

来源: Laya3.0_文档 发布时间: 20251010

187. laya2.0引入第三方库失败 [ 80%]

.../libs/pb2' from 'E:\myLaya2D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43) at onex (D:\Progra...

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

188. laya.resource.BaseTexture [ 80%]

...rames No Frames BaseTextureProperties | Methods | Constants Packagelaya.resourceClasspublic class BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By  aniso...

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

189. 关于2.0场景资源管理的问题 [ 79%]

...于2.0场景资源管理的问题 已解决,关闭界面记得执行Laya.Resource.destroyUnusedResources(); 2019-01-30 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 OneWay 赞同来自: layabox close之后...

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

190. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

...class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: string, x: num...

来源: Laya3.0_文档 发布时间: 20251010