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

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

1. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 100%]

...l=http://stand.alone.version/index.html D/RuntimeProxy: laya_get_value key=CacheDirInSdcard D/RuntimeProxy: laya_get_value key=CacheDir D/RuntimeProxy: laya_get_value key=ExpansionMainPath D/RuntimeProxy: laya_get_value key=ExpansionPatchPath I/layaConch3: m_interceptKey OK! E/LayaConch5: >>&g...

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

2. 安装layaair2-cmd一直失败 [ 81%]

...an be found in: npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-11T10_54_16_317Z-debug.l og     2020-02-11T10_54_16_317Z-debug.log   31916 info lifecycle jpeg-recompress-bin@4.0.0~postinstall: jpeg-recompress-bin@4.0.0 31917 verbose lifecycle jpeg-recompress-bin@4.0...

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

3. 针对2.0.0 beta5 setLoadingPage 做增强 [ 71%]

...solve, reject) => { // get Laya.timer.once(5000, null, function () { // cache user // 把user传个下个场景 let user = {name: 'ttaccp'} resolve(user) }) }) } } loadingpageRuntime.jsexport default class loadingpage extends Laya.View { constructor() { super() } onEnable() { this.text = this.get...

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

4. 如何使用vscode编译laya项目 [ 62%]

..."/.laya/compile.js", ""); } }2、修改typescript编译配置 typescript({ cacheRoot:workSpaceDir + "/.rpt2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, includ...

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

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

...优先加载。 group?: string; //分组,方便对资源进行管理。 cache?: boolean; //是否缓存 noRetry?: boolean; //是否重新尝试加载 silent?: boolean; //是否提示加载失败 useWorkerLoader?: boolean; //(default = false)是否使用worker加载(只针对IMAGE类型和ATLAS...

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

6. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...一次 onAwake(): void { let sprite = this.owner as Laya.Sprite; //sprite.cache = true; this._temp = new Laya.Sprite(); this.owner.scene.addChild(this._temp); this.findCompents(this._allAgent, sprite.scene, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, e...

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

7. laya.d3.core.Camera_API3.0 [ 44%]

...y BaseCamera Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accesso...

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

8. laya.d3.webxr.core.WebXRCamera_API3.0 [ 43%]

... Hierarchy Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors...

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

9. laya.physics.PhysicsDebugDraw_API3.0 [ 42%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mou...

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

10. laya.map.TileAniSprite_API3.0 [ 41%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mou...

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