大约有 1,569 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1377) Laya3.0_api(67) Laya2.0_文档(66) Laya3.0_文档(32) Laya2.0_api(15) laya_api(8) Laya_示例(2) Laya2.0_示例(2)
...无法支持鼠标事件的mouseover和 mouseout 因此可以扩展一下 第一步 修改此类: class HTMLHitRect { constructor() { this.rec = new Laya.Rectangle(); this.isMouseOver = false; this.reset(); } ...
来源: Laya_社区 发布时间: 20200724
... Overrides Component.onStart Defined in laya/components/CommonScript.ts:41 第一次执行update之前执行,只会执行一次 此方法为虚方法,使用时重写覆盖即可 Returns void onUpdate onUpdate(): void Overrides Component.onUpdate Defined in laya/components/CommonScript.ts:49 每...
来源: Laya3.0_api 发布时间: 20231102
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231115
... 发起人 R. 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The AudioContext was not allowed to start....
来源: Laya_社区 发布时间: 20200110
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231115
..._roleControl.attack; } /*覆写加载组件的3D对象实例化完成后,第一次更新时执行*/ public _start(state:Laya.RenderState):void{ //获取被绑定脚本的模型,需等待角色实例化完成 //获取有动画组件的内层模型(.lh资源导出时会在角色外包裹一层sp...
来源: Laya_社区 发布时间: 20171113
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231115
...e环境中? worker.js的如何正确使用?所有资源都加载2遍,第一遍是在work.js所在的目录下,第二遍正常 TimeLine标签删除失败,动效还是在播放 2.0版本在界面编辑器改了,但是在代码里面却没起到效果 2.2.0.4版本 自动合并功能在web...
来源: Laya_社区 发布时间: 20170401
...会来验证一下。我先回应关于AS3版本引擎开源问题。 第一、我们不可能继续支持AS3版本的源码了。原因是AS3语言不开源,并且停止了维护,导致新的语言特性,无法在AS3里实现,我们继续坚持AS3源码,那就是牺牲了引擎API功...
来源: Laya_社区 发布时间: 20190906
...是你的本地网络有问题,有几个思路方向,你要查一下,第一,是不是服务器的节点问题,你查一下开没有开CND加速,没开要开一下。第二,你上传项目到小程序公众后台,设置为体验版,用4G网络看看体验版有没有问题。别用...
来源: Laya_社区 发布时间: 20180426