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

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

461. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 46%]

...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...

来源: Laya2.0_文档 发布时间: 20210715

462. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...utton,this.Image,具有代码提示效果。而自定义的组件脚本获取只能通过代码定义属性,再在IDE中拖入节点获取节点或组件。 因此建议开发者:一般情况下使用自定义脚本的方式。只有当页面内需要管理较多的组件时,使用UI组件...

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

463. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...、独立的 JavaScript 作用域。在这个作用域中,开发者可以获取到玩家的一些隐私数据,并对这些数据进行处理。开放数据域和执行游戏逻辑的主域是相互隔离的,并且只能进行从主域到开放数据域的单向通信。 对于开发者而言...

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

464. laya.physics.ColliderBase_API3.0 [ 42%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/component...

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

465. Layabox入门到精通视频教程 [ 42%]

...排行榜 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API中没有找到。 layabox写好的程序可以打包成windows安装包吗? Runtime照着视频做运行不了,求解 laya Native播放视频 Layabox 可不可...

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

466. 分享:技术突破:HTML5裸跑性能已可媲美APP [ 42%]

...佳的选择。   Layabox开发者QQ群 QQ群号:330223972 点击此处获取原文 2016-02-26 1 0 分享 微博 QZONE 微信 ourme 赞同来自: layabox 期待中 2016-03-21 1 1 分享 微博 QZONE 微信 crylg 赞同来自: 能深度剖析一下,为什么性能会优于cocos 吗 2016-04-28 0 ...

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

467. laya.physics.CircleCollider_API3.0 [ 39%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

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

468. 分享个用美术资源做位图文本的方法。。。 [ 39%]

...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:打地鼠 AS、JS、TS版本 Demo! 文本如何自动换行 分享:适配LayaAir版本的PureMV...

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

469. laya.physics.EdgeCollider_API3.0 [ 39%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

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

470. 微信小游戏分包实战(JavaScript-小游戏适配文档-微信小游戏) [ 39%]

...base/subpackage/LoadSubpackageTask.html),可以通过 LoadSubpackageTask 获取当前下载进度。示例代码如下: ```javascript loadTask.onProgressUpdate(res => { console.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预期...

来源: Laya2.0_文档 发布时间: 20210715