大约有 2,541 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0229 秒)
Laya_社区(1918) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...码,改写的,点击2次场景就会报错。: onStageClick(e: Laya.Event): void { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this.bullet.cre...
来源: Laya_社区 发布时间: 20181130
...ationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties PropertyDefined By localRotation : QuaternionAnimationTransform3DPublic Methods Hide Inherited Public Methods Show Inherited Public ...
来源: Laya2.0_api 发布时间: 20190513
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class RealTimeShadow { private var _quaternion:Quaternion = new Quaternion(); private var scen...
来源: Laya_示例 发布时间: 20251223
... 2 个回复 186*****260 赞同来自: 发现是 第二个txt的 txt.on(Event.MOUSE_DOWN, this, startScrollText); 这个函数监听不到 屏幕外的txt监听不到? 必须移动到屏幕里面才能加这个代码? 移动到里面也再加也不行啊 在编辑器里做过ui 然后 放2...
来源: Laya_社区 发布时间: 20170429
... mrtian • 2018-10-09 18:40 谢谢回复,不过“this.roleAni.on(Laya.Event.COMPLETE,this,this.onCompleteAni);”这个代码不应该是监听动画播放完成的吗 mrtian • 2018-10-09 18:55 工程代码我更新了,mp3音频文件加载失败的问题,不知道是为什么,之前加...
来源: Laya_社区 发布时间: 20181009
... 记录当前皮肤状态 //播放停止后执行逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换皮肤名称 currentSkin = currentSkin === "full-skins/girl" ? "full-skins/girl-blue-cape" : "full-skins/girl"; this.spine.skinName = currentSkin; this.spine.play(...
来源: Laya3.0_文档 发布时间: 20251128
...用showAll后留白部分的颜色问题 IDE1.7.8 json图集加载问题 event自定义事件的问题 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, mask在layaplayer中有问题 问题状态 最新活动: 2019-11-20 16:09 浏览: 1088 关注: 1 人
来源: Laya_社区 发布时间: 20191120
...中mouseConstraint无法拖拽刚体,ide里是正常的。添加Matter.Events.on(mouseConstraint, 'mousedown')测试,微信小游戏里有响应,但e.mouse里的参数无效 chrome调试输出mouse参数正常。 微信小游戏里参数NaN。 2018-05-20 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20180512
... t.to(glowFilter, {blur: 1}, 200, null, 0); } t.on(Event.COMPLETE, this, function(){ sp.filters = null; }); t.play(0, true); }; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...
来源: Laya_社区 发布时间: 20181012
...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIn...
来源: Laya_社区 发布时间: 20180322