大约有 201 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...eReference _setCPUMemory _setCreateURL _setGPUMemory destroy disposeBitmap event getCachedClip getPixels getTexturePixels hasListener isCreateFromURL load off offAll offAllCaller on once recoverBitmap setTo create createFromTexture destroyUnusedResources Constructors constructor new Texture(source?:...
来源: Laya3.0_api 发布时间: 20231115
...n); if (sliderButton) { sliderButton.on(Laya.Event.MOUSE_UP, this, () => { console.log("滑块按钮拖拽结束"); }); } HSlider是Panel的子物体,会导致这个事件失效,当HSlider拿出Panel的时...
来源: Laya_社区 发布时间: 20250710
...有。这个我给你个demo,你自己看看。 1.初始化 this.Matter.Events.on(this._engine, 'collisionActive', this.onCollision); 2.碰撞检测 private onCollision(event): void { console.log("碰撞了.."); var home = _gamePage._mainPage._playPage; for(var i = 0; i < event.pairs.len...
来源: Laya_社区 发布时间: 20180601
...: "requestSubscribeMessage:fail require user interaction (only in touchend event)"} 2019-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 shiyang 赞同来自: 在onclick里面调用 2020-01-15 0 0 分享 微...
来源: Laya_社区 发布时间: 20191217
...击事件的传递。 例如(我用的javascript): button.on(Laya.Event.MOUSE_DOWN, null, (e)=>{ // 做一些事 // 终止事件传递 e.stopPropagation() })) 2018-05-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添...
来源: Laya_社区 发布时间: 20180517
...容相关的链接 提交 1 个回复 qian 赞同来自: a372853273 ani.on(Event.COMPLETE,this,onComplete); 2018-03-20 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a372853273 相关问题 sprite旋转以后,但是原来碰撞检测re...
来源: Laya_社区 发布时间: 20180320
...色 this.label.bgColor = "#ff0400"; start(): void { this.color_btn.on(Laya.Event.CLICK, this, this.onTipClick); } if(tipBtn == this.color_btn){ this.label.bgColor = "#ffffff"; 2019-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20190722
...Sprite3D).transform.position) } onStart(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } private onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,L...
来源: Laya_社区 发布时间: 20190621
...; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Ev...
来源: Laya2.0_文档 发布时间: 20210715
...0) UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMGUIContainer.Handl...
来源: Laya_社区 发布时间: 20200109