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

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

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

新人求助: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

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

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

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

3. cavans上触发不了input的点击事件 [ 85%]

...sprite添加一个点击事件,this.hitimg.on(Laya.Event.CLICK,this,this.onStart); onStart: _proto.onStart = function(){ console.log(111111122222); $("#fileInput").trigger('click'); } 可以打印数字,但是触发不了input控件。 <input id="fileInput" type="file" accept="image/*" st...

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

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

...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 [ 82%]

...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 [ 82%]

...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 [ 82%]

...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.CommonScript [ 82%]

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

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

9. laya.effect.EffectBase_API3.0 [ 81%]

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

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

10. laya.effect.FadeOut_API3.0 [ 81%]

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

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