大约有 396 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...sicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThreshold ccdSweptSphereRadius colliderShape collisionGroup...
来源: Laya3.0_api 发布时间: 20231115
...3.0.9 //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { console.log("2d gamescene onEnable"); let btn:Laya.Button = LayaUtil.GetChildByPath(this.owner, "CreatePanel/BtnCreate"); btn.clickHandler = Lay...
来源: Laya_社区 发布时间: 20231221
.../Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _extra _singleton cullingMode owner runInEditor scriptPath CULLINGMODE_ALW...
来源: Laya3.0_api 发布时间: 20231102
...itialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new DirectionLightCom(): DirectionLightCom Overrides Light.constructor Defined in laya/d3/core/light/DirectionLightCom.ts:53 创...
来源: Laya3.0_api 发布时间: 20231115
...y 、谷主、孟星煜 1、基础概念 1.1 什么是ECS ECS是Entity-Component-System(实体-组件-系统)的简写,这是一种基于数据驱动的游戏设计模式。 1.2 LayaAir的实体 在标准ECS理论中,实体被定义为唯一的标识符(ID),其核心作用仅是通过I...
来源: Laya3.0_文档 发布时间: 20251010
...itialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new AreaLightCom(): AreaLightCom Overrides Light.constructor Defined in laya/d3/core/light/AreaLightCom.ts:25 创建一个 AreaL...
来源: Laya3.0_api 发布时间: 20231115
.../Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _controller _extra _singleton cullingMode owner runInEditor scrip...
来源: Laya3.0_api 发布时间: 20231115
...er 类用于渲染器的父类,抽象类不允许实例。 Hierarchy Component BaseRender PixelLineRenderer MeshRenderer BatchRender ShurikenParticleRenderer TrailRenderer UI3D HLODRender StaticBatchMeshRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _...
来源: Laya3.0_api 发布时间: 20231115
...s No Frames AnimatorProperties | Methods | Constants Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component Object Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By avatar : A...
来源: Laya2.0_api 发布时间: 20190513
...Error: Loader is not defined 搞不懂引擎原生的也会报这个错? onEnable() { //戏控制脚本引用,避免每次获取组件带来不必要的性能开销 thi s._loveControl = this.getComponent(LoveControl); //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK,...
来源: Laya_社区 发布时间: 20190704