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

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

241. laya.physics.joint.RevoluteJoint_API3.0 [ 88%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

242. 计时器-延迟执行 [ 88%]

...事件 this.button1.off(Event.CLICK, this, this.onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, this.onComplete1); } onDecreaseAlpha2(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button2.off(Event.CLICK, this, this.onDecreaseAlpha2); //定时执行...

来源: Laya2.0_示例 发布时间: 20251130

243. addComponent后成功加载了自定义Script,但是无法执行到script的onEnable,onUpdate等方法 [ 88%]

addComponent后成功加载了自定义Script,但是无法执行到script的onEnable,onUpdate等方法 我之前有个老版本的工程,转到新的2.0版本后一切正常,打算用组件的方式尝试一下开发,写了个最简单的隔多少帧自动销毁的Script,只是在onUpda...

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

244. laya.physics.CircleCollider_API3.0 [ 88%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

245. 一个list钟我添加了renderHandler回调但是里面的初始化回调执行了两次!!! [ 87%]

一个list钟我添加了renderHandler回调但是里面的初始化回调执行了两次!!! 2017-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: 这个是正常的,对项目...

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

246. 2d物理引擎onTriggerStay不执行的bug [ 87%]

2d物理引擎onTriggerStay不执行的bug laya.physics.js文件中 这个_sendEvent函数中,"_triggered"标签已经用被来区分是Enter还是Stay了。 而在box2d.b2Contact.prototype.Update函数中,又用"!b"的方式区分了是Begin还是Stay。 这种重复的区分导致onTriggerSta...

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

247. loading界面实现图片预加载后,创建Sprite执行loadImage出错 [ 87%]

loading界面实现图片预加载后,创建Sprite执行loadImage出错 1、没有使用IDE; 2、仿照sample里面的 Loader_ProgressAndErrorHandle.js 构建了一个 Loading界面。 3、所有图片均成功载入 4、切换界面时,进入游戏界面,构造Sprite出错。       切...

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

248. laya.physics.EdgeCollider_API3.0 [ 87%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

249. laya.d3.core.light.Light_API3.0 [ 87%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

250. laya.physics.joint.PrismaticJoint_API3.0 [ 87%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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