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

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

1. Tween类有侦听缓动开始的onStart事件吗? [ 100%]

Tween类有侦听缓动开始的onStart事件吗? 比如有多个Tween延迟一段时间才执行的,想在每个Tween缓动执行开始的时候做一些逻辑处理,但Laya文档里貌似找到类似AS3的Tweenlite里的onStart事件? 2018-10-17 添加评论 免费帖 --> 分享 微博...

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

2. 新人求助:onStart赋值为什么在onUpdate会输出一次为空 [ 96%]

新人求助:onStart赋值为什么在onUpdate会输出一次为空   export default class mtTest extends Laya.Script{          lab:Laya.Label;      onAwake():void{             }     onStart():void{                this.lab=this.owner as Laya.Label...

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

3. laya.components.CommonScript [ 94%]

...收复用 此方法为虚方法,使用时重写覆盖即可 Component  onStart():void 第一次执行update之前执行,只会执行一次 此方法为虚方法,使用时重写覆盖即可 CommonScript  onUpdate():void 每帧更新时执行 此方法为虚方法,使用时重写覆盖即...

来源: Laya2.0_api 发布时间: 20190513

4. laya.components.CommonScript_API3.0 [ 92%]

...onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CommonScript(): CommonScript Overrides Component.constructor Defined in laya/components/CommonScript.ts:13 Returns CommonScript Properties Optional _extra _extra: IComponentExtra ...

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

5. laya.physics.joint.JointBase_API3.0 [ 92%]

...onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new JointBase(): JointBase Overrides Component.constructor Defined in laya/physics/joint/JointBase.ts:9 Returns JointBase Properties Optional _extra _extra: IComponentExtra Inherited ...

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

6. laya.d3.core.MeshFilter_API3.0 [ 92%]

...onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new MeshFilter(): MeshFilter Overrides Component.constructor Defined in laya/d3/core/MeshFilter.ts:15 Returns MeshFilter Properties Optional _extra _extra: IComponentExtra Inherited f...

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

7. laya.d3.component.LODGroup_API3.0 [ 91%]

...eFlag onAdded onAwake onDisable onEnable onLateUpdate onPostRender onReset onStart onUpdate Constructors constructor new LODGroup(): LODGroup Overrides Component.constructor Defined in laya/d3/component/LODGroup.ts:194 实例化一个LODGroup Returns LODGroup Properties Optional _extra _extra: IComp...

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

8. laya.components.Component_API3.0 [ 91%]

...onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new Component(): Component Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns Component Properties Optional _extra _extra: IComponentExtra Defin...

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

9. laya.physics.joint.GearJoint_API3.0 [ 89%]

...onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new GearJoint(): GearJoint Inherited from JointBase.constructor Overrides Component.constructor Defined in laya/physics/joint/JointBase.ts:9 Returns GearJoint Properties Optional _ext...

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

10. 2d物理问题 [ 89%]

...所属节点进行控制,建议放到脚本类(继承Laya.Script)的onStart生命周期或之后执行,在此之前,由于执行时机的问题,会导致节点的位置计算因为适配问题并会准确。   如果一定要在此之前执行,或在UI类里,需要延迟几帧执...

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