大约有 2,538 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new AtlasResource(dir: string, textures: Array<Texture>, frames: Array<Texture>): AtlasResource Ove...
来源: Laya3.0_api 发布时间: 20231115
休眠触发Event.BLUR的函数里有静音的话,恢复网页后报错 游戏中有这样一个监听Laya.stage.on(Event.BLUR, this, onBlur); onBlur函数里有这样一个语句SoundManager.stopAll(); 进行了主动静音,这样做的目的是休眠后游戏自动结束,结束后的界面...
来源: Laya_社区 发布时间: 20170320
...ils.Browser; var Stat = laya.utils.Stat; var WebGL = laya.webgl.WebGL; var Event = laya.events.Event; /** * Tips: * 1. 引擎初始化后,会占用16M内存,用来存放文字图集资源,所以即便舞台没有任何对象,也会占用这部分内存; * 2. 销毁 Texture 使用的图片...
来源: Laya_示例 发布时间: 20251130
...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once updateTo destroyUnusedResources Constructors constructor new AnimatorController(data: any): AnimatorController Overrides Resource.__constructor Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...容相关的链接 提交 2 个回复 Laya_XS 赞同来自: Laya.stage.on(Event.KEY_DOWN, this, _onKeyDown); 然后你根据Keyboard对应的keycode来判断是什么键即可 2018-04-06 0 0 分享 微博 QZONE 微信 akunone 赞同来自: laya.events.KeyBoardManager.hasKeyDown(laya.events.Keyboard....
来源: Laya_社区 发布时间: 20180406
layabox 旋转缩放某个3D物体要怎么实现,event检测不到3D的吗? 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你可以修改3d物体的transform的rotate跟loca...
来源: Laya_社区 发布时间: 20170222
...ce _setCPUMemory _setCreateURL _setGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new Prefab(version?: number): Prefab Overrides Resource.__constructor Defined in laya/resource/HierarchyResourc...
来源: Laya3.0_api 发布时间: 20231115
...Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { console.log("clicked"); } } aNode.addComponent(MyScript); 以上两种方式是等价的,且在纯...
来源: Laya3.0_文档 发布时间: 20251010
如何定义动画播放过某帧后的回调函数 Event Object Type: laya.events.Event; Event.type property = Event.LABEL; 如何才能实现第2帧后的回调呢 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20161214
...有效果。 ```typescript package { import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Text_Scroll { private var txt:Text; private var prevX:Number = 0; private var prevY:Number = 0; public function Text_Scroll() { // 不支持WebGL...
来源: Laya2.0_文档 发布时间: 20210715