大约有 388 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0041 秒)
...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
...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
... _setOwner destroy getMesh hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setMorphChannelWeight setRenderbitFlag changeVertexDefine shaderValueInit Constructors constructor new MeshRenderer(): MeshRenderer Overrides BaseRender....
来源: Laya3.0_api 发布时间: 20231115
...助线显示,或者通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed ...
来源: Laya3.0_api 发布时间: 20231115