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

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

1. Node.prototype._activeHierarchy存在的bug或者说是onEnableonAwake的坑 [ 100%]

Node.prototype._activeHierarchy存在的bug或者说是onEnableonAwake的坑 官方源码如下: /**     *@private     */     __proto._activeHierarchy=function(activeChangeScripts){         this._setBit(/*laya.Const.ACTIVE_INHIERARCHY*/0x02,true);         if (this._...

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

2. Laya.Script中_onEnable有调onEnable,_onDisable却没有调onDisable [ 90%]

...先登录 发起人 Ace1024 相关问题 Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 laya 2.0 bug onEnable 分离模式节点没有创建 Node.prototype._activeHierarchy存在的bug或者说是onEnableonAwake的坑 2.0里面的组件(Laya.Script)的prop其中几...

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

3. 2.0UI的生命周期感觉有问题 [ 83%]

...xx.scene)  这是我打开xxx.scene 代码执行顺序是 构造器函数-onAwake-onEnable   然后我关闭 Laya.Scene.close(xxx.scene) 再次打开它Laya.Scene.open(xxx.scene) 代码执行顺序仍然是 构造器函数-onAwake-onEnable    也就是说 每次open这个UI 都会重新NEW 也...

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

4. laya.physics.joint.JointBase_API3.0 [ 83%]

...deFlags id joint Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new JointBase(): JointBase Overrides Component.constructor Defined in laya/physics/joint/JointBase.t...

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

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

...s id isSingleton Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CommonScript(): CommonScript Overrides Component.constructor Defined in laya/components/CommonSc...

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

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

...gs id sharedMesh Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new MeshFilter(): MeshFilter Overrides Component.constructor Defined in laya/d3/core/MeshFilter.ts:1...

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

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

... id lods nowRate Methods _initialize _setOwner destroy hasHideFlag 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 实例化一个LODGr...

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

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

...led hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new EffectBase(): EffectBase Inherited from Component.constructor Defined in laya/components/Compone...

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

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

...led hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new FadeOut(): FadeOut Inherited from Component.constructor Defined in laya/components/Component.ts:...

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

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

...led hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new FadeIn(): FadeIn Inherited from Component.constructor Defined in laya/components/Component.ts:44...

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