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

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

231. 命令行发布 · LayaAir3.3 · 引擎文档 · LAYABOX [ 88%]

命令行发布一、启动编辑器二、执行脚本命令行发布 一、启动编辑器 下载LayaAir-IDE后,在本地环境变量中添加Path,如图1-1所示,其中D:\Program Files\LayaAirIDE为安装路径, (图1-1) 然后打开命令行窗口,即可在终端中启动IDE,命...

来源: Laya3.0_文档 发布时间: 20251010

232. laya.d3.physicscannon.CannonPhysicsTriggerComponent_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 发布时间: 20231102

233. 关于animator动画,代码切换无效啊 [ 88%]

...法打开代码编辑器 请配置 这个怎么解决? 为什么ani动画执行的不是按中心点执行的 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事啊? Animation 的createFrames 使用已经加载的图集缓存动画失败 关于...

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

234. laya.d3.physicscannon.CannonPhysicsCollider_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 发布时间: 20231102

235. laya.physics.joint.MotorJoint_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

236. laya.physics.joint.DistanceJoint_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

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

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

来源: Laya_示例 发布时间: 20251130

238. 导出到微信小游戏资源加载失败回调不执行 [ 88%]

导出到微信小游戏资源加载失败回调不执行 使用laya导出到微信小游戏,图片资源放入远程CDN,当图片资源加载失败时(远程CDN没有该图片)没有调用回调。 查看MiniFileMgr.as发现仅当statusCode为200时才会触发回调,源码如下 public ...

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

239. 事件管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 88%]

...对象对于外部动作的响应,当对方发生了某个事件,就会执行于此事件对应的代码。比如用鼠标在一个对象上按下,这个对象预先设定了识别鼠标按下这个事件,就会执行对应的代码。 1.2 事件的分类 1,引擎内置的事件 2,自定...

来源: Laya3.0_文档 发布时间: 20251010

240. 提示 is not function [ 88%]

...内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你应该是执行域改变导致的,默认as3环境下执行域是固定的不会随着执行域的改变而发生改变。在js执行环境下执行域会根据发生改变,你应该是回调方法赋值导致的,你可以赋值...

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