大约有 1,766 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(625) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...ya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(this, this.onLoaded), nu...
来源: Laya_社区 发布时间: 20161026
...athFinding.core.Grid()而不是Laya.Grid().这个问题在于忽略了Laya.class()的使用。 -------- 希望官方能完善一下相关 API 的使用 2017-06-29 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: pathfinding是第三方开源库,你可以参考:https://github.com/qiao/P...
来源: Laya_社区 发布时间: 20170627
...曲线,然后通过drawLines来画。给你 一个参考代码 export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number ...
来源: Laya_社区 发布时间: 20241008
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 Label 组件的资源示例:  (图1) Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ![图片0....
来源: Laya2.0_文档 发布时间: 20210714
...Compile use time:4 size:167/407 laya.core.js:21110 Uncaught Can not find class laya.physics.BoxCollider 然后值引用下面这几个库,则报附件的图片错误:laya.d3.j;laya.html.js;laya.physics.js;laya.ui.js 附件 : --> 2020-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20200825
...als Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory i...
来源: Laya3.0_api 发布时间: 20231115
... exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canS...
来源: Laya3.0_api 发布时间: 20231115
...Globals "laya/d3/component/Animator/AnimatorController" AnimatorController Class AnimatorController Hierarchy Resource AnimatorController Index Constructors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute refer...
来源: Laya3.0_api 发布时间: 20231115
...() { this.world.step(1 / 60); } 再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = fals...
来源: Laya_社区 发布时间: 20200217
...nals Only exported Menu Globals "laya/physics/ChainCollider" ChainCollider Class ChainCollider 2D线形碰撞体 Hierarchy ColliderBase ChainCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed en...
来源: Laya3.0_api 发布时间: 20231115