大约有 117 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0037 秒)
...age.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown) Laya.stage.on(Laya.Event.MOUSE_UP,this,this.mouseUp) this.moveMap(this.offsetX,this.offsetY) } moveMap(x,y){ let X = -x00 let Y = -y00 this.map0.x = X this.map0.y = Y this.map3.x = X + 1800 this.map3.y = Y + 1800 if(X < -540){ this.map1.x = X + 18...
来源: Laya_社区 发布时间: 20181220
....refreshList.array = data; // 添加事件监听 this.refreshList.on(Event.MOUSE_UP, this, this.stageOnMouseUp); this.refreshList.on(Event.MOUSE_OUT, this, this.stageOnMouseUp); //游戏逻辑关联引擎的停止滚动接口 this.refreshList.scrollBar.stopMoveLimit = this.scrollBarIsStopBind.bind(t...
来源: Laya2.0_示例 发布时间: 20260106
... 提交 2 个回复 189*****192 赞同来自: Sean8023 Laya.stage.on(Event.MOUSE_UP, this, onApeRelease); Laya.stage.on(Event.MOUSE_DOWN, this, onApeRelease); 通过 Event 类型 监听动作 class Event { /** 一个空的 Event 对象。用于事件派发中转使用。*/ ...
来源: Laya_社区 发布时间: 20170601
...s.rotate(vec); } } 监听的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_UP,this,this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,this.mouseMove); private mouseDown():void{ let mX:number = Laya.stage.mouseX; this.lastMouseX ...
来源: Laya_社区 发布时间: 20180113
... if (sliderButton) { sliderButton.on(Laya.Event.MOUSE_UP, this, () => { console.log("滑块按钮拖拽结束"); }); } HSlider是Panel的子物体,会导致这个事件失效,当HSlider拿出Panel的时候,...
来源: Laya_社区 发布时间: 20250710
...et = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { var sphere = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.25, 16, 16))); var mat = new Laya.StandardMaterial(); mat.diffuseTexture = Laya.Texture2...
来源: Laya_示例 发布时间: 20260106
...on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图 function createMap() { //创建地图对象 tiledMap = new TiledMap(); //创建Rectangle实例,视口区...
来源: Laya_社区 发布时间: 20180614
...ya.Physics.rayCast(ray, hit, 1000); } Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; if (!hit.sprite3D) { str = "点击选取的几何体"; }else{ str = hit.sprite3D.name + " "; } ...
来源: Laya_社区 发布时间: 20170915
...on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图 function createMap() { //创建地图对象 tiledMap = new TiledMap(); //创建Rectangle实例,视口区...
来源: Laya_社区 发布时间: 20180612
... function TipsView(params) { TipsView.super(this); this.sure.on(Laya.Event.MOUSE_UP,this,onSure); function onSure(params) { } } Laya.class(TipsView,"TipsView",TipsViewUI); return TipsView; })(); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20171017