大约有 259 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0036 秒)
Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 官方源码如下: /** *@private */ __proto._activeHierarchy=function(activeChangeScripts){ this._setBit(/*laya.Const.ACTIVE_INHIERARCHY*/0x02,true); if (this._...
来源: Laya_社区 发布时间: 20190730
...先登录 发起人 Ace1024 相关问题 Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 laya 2.0 bug onEnable 分离模式节点没有创建 Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 2.0里面的组件(Laya.Script)的prop其中几...
来源: Laya_社区 发布时间: 20200827
...xx.scene) 这是我打开xxx.scene 代码执行顺序是 构造器函数-onAwake-onEnable 然后我关闭 Laya.Scene.close(xxx.scene) 再次打开它Laya.Scene.open(xxx.scene) 代码执行顺序仍然是 构造器函数-onAwake-onEnable 也就是说 每次open这个UI 都会重新NEW 也...
来源: Laya_社区 发布时间: 20190104
...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
...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
...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
... 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
...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
...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
...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