大约有 1,155 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0048 秒)
Laya_社区(864) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(35) laya_api(2) Laya2.0_api(2)
...否可以监听, 比如类似这样 Laya.stage.on(Laya.Event.COMPLETE, this, this.OnLoadLog); 2017-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 资源加载有Event.LOADED事件...
来源: Laya_社区 发布时间: 20170816
添加舞台事件问题? this.addEventListener(Event.ADDED_TO_STAGE, addtoStageHandler); as3的添加舞台事件,Laya有木有类似的事件啊? 2017-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...
来源: Laya_社区 发布时间: 20170325
...力感应在手机没有回调问题 Accelerator.instance.on(Event.CHANGE, this, this.monitorAccelerator); monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) 在PC端调试回调中accelerationIncludingGravity为空,手机扫码调试。次函数不会被调...
来源: Laya_社区 发布时间: 20190928
...kinModel/Zombie/old/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { zombie.transform.rotation = new Laya.Quaternion(-0.7071068, 0, 0, -0.7071068); zombie.transform.position = new Laya.Vector3(0.3, 0, 0); addSkinComponent(zombie); loadUI(); }); var skinAniUrl = [ "../../res...
来源: Laya_示例 发布时间: 20250224
...cation/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function err...
来源: Laya_社区 发布时间: 20180202
...= (function(_super){ function GameInfo(){ GameInfo.super(this); this.pauseBtn.on(Laya.Event.CLICK, this, this.onPauseBtnClick); this.reset(); } Laya.class(GameInfo, "GameInfo", _super); var _proto = GameInfo.prototype; _proto.reset = ...
来源: Laya_社区 发布时间: 20170416
...和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); // 位置 this.clip.skin = "atlas/comp/clip_num.png"; // 皮肤 this.clip.interval = 1000; // 切片动画的播放时间间隔1000毫秒 this.clip.clipX...
来源: Laya3.0_文档 发布时间: 20240910
在浏览器里打开游戏退出时游戏会执行什么? this.on(Laya.Event.REMOVED,this,this.releaseUp); 我之前执行过这个方法。。但是这个方法必须是当前界面销毁或者移除的时候才执行。。如果在浏览器里,我点关闭或者手机上点返回。。那这...
来源: Laya_社区 发布时间: 20180428
...ayair 两点之间的距离api在哪里 调用动画结束on方法,报错this.zombieAnimator.on is not a function 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格式问题? Laya API video / laya.device.media 是否支持 WebRTC 影音直播 运行报错 U...
来源: Laya_社区 发布时间: 20180725
...用Pool的时候创建的对象怎么传递参数 我之前是这样写的this.movingBlock = new MovingBlock(this.direction, movingBlockY), 但是这样每次都是new对象,太耗性能了,所以我用了这个,但是不知道怎么传递参数: this.movingBlock = Laya.Pool.getItemByClass...
来源: Laya_社区 发布时间: 20171208