大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
Laya_社区(675) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(38)
...h(config); console.log(`Running 'rollup watcher'...`); let tS; watcher.on('event', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — 完成文件束构建 // END — 完成所有文件...
来源: Laya_社区 发布时间: 20201223
1.7的接口消失 // ZmyTestManager.Ani.on(Laya.Event.COMPLETE, this, this.OnCurrentAnimationCompleted);//循环动画完成播放单次循环 // ZmyTestManager.Ani.on(Laya.Event.STOPPED, this, this.OnCurrentAnimationStopped);//非循环动画停止播放 这个接口在2.0后就没有了 文档...
来源: Laya_社区 发布时间: 20181017
Laya.Event.RESIZE 栈溢出问题 下面是所有代码,会出现死循环,这是不是有问题?我要监听浏览器大小来改变游戏场景大小,怎么控制 , resize的方法有问题吧?为什么我第一次加载游戏的时候就会直接触发? import WebGL = Laya.WebGL...
来源: Laya_社区 发布时间: 20180525
... = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export default class Test_11_Sound { //声明一个信息文本 private t...
来源: Laya_社区 发布时间: 20190421
...画结束回调有延迟 this.ded.addLabel("animOver",9); this.ded.on(Laya.Event.LABEL, this, this.onHitOver); this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver); 两种方法都会有延迟,不能100%执行 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20181108
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new Rende...
来源: Laya3.0_api 发布时间: 20231115
...rTarget _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new WebXR...
来源: Laya3.0_api 发布时间: 20231115
...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); ...
来源: Laya_社区 发布时间: 20180830
TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 附件 : --> 2022-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回...
来源: Laya_社区 发布时间: 20220222
...is, onLoading, null, false)); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, onError); this.moveover =true; function onAssetLoaded(texture) { console.log("加载结束"); pic="res/castlebeyond.jpg"; this.bgimg =...
来源: Laya_社区 发布时间: 20171024