大约有 444 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0108 秒)
Laya_社区(295) Laya2.0_示例(37) Laya_示例(31) Laya2.0_文档(27) Laya2.0_api(18) laya_api(16) Laya3.0_文档(15) Laya3.0_api(5)
...LoginView extends ui.LoginUI { constructor() { super(); this.login.on(Laya.Event.CLICK, this, this.Loginyim); this.joinroom.on(Laya.Event.CLICK, this, this.JoinRoom); this.RecordAudio.on(Laya.Event.MOUSE_DOWN, this, this.StartRecordAudio); this.RecordAudio.on(Laya.Event.MOUSE_UP, this, this.StopReco...
来源: Laya_社区 发布时间: 20170722
...}else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks && langPacks[text] ? langPacks[text] : text; if (!args || args.length <= 0) { this._text = text; } else { for (va...
来源: Laya_社区 发布时间: 20180820
...舞台中时如何保持点击状态 比如这个打砖块的游戏。用Event.MOUSE_DOWN + startDrag来实现拖动底部的拍子,在电脑上玩时我快速左右拖动来档球,就很容易将鼠标移出舞台,当再移进舞台时,发现拍子不和鼠标走了,需要重新点击,...
来源: Laya_社区 发布时间: 20170106
...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler); var sendData = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData...
来源: Laya_社区 发布时间: 20180824
... 怎么监听啊 ANDORID 切后台 怎么监听啊? Laya.stage.on(Laya.Event.BLUR, this, this._on_blur); Laya.stage.on(Laya.Event.FOCUS, this, this._on_focus);这个没有用啊。 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180522
...LayaSample.max.js:1) at i.runWith (LayaSample.max.js:1) at t.e.event (LayaSample.max.js:1) at new i (LayaSample.max.js:1) at Function.t.regSession (LayaSample.max.js:1) at t.i.initSession (LayaSample.max.js:1) at Function.t.INIT (LayaSample.max.js:1) at i.ex...
来源: Laya_社区 发布时间: 20200401
...h:1200px; height:600px"); document.body.appendChild(div); document.body.addEventListener("touchmove", touchmoves, false); function touchmoves(e) { if(window.pageYOffset<0) { div.style.visibility="hidden";//隐藏div Laya.MouseManager.instance.disableMouseEvent; e.preventDefault();//停止滑动...
来源: Laya_社区 发布时间: 20170517
...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_社区 发布时间: 20191113
...以在mouseHandler下对鼠标事件进行判断和使用,譬如e.type=Event.CLICK,对事件类型进行判断,然后进行逻辑的实现! 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 182*****278 相关问题 分享...
来源: Laya_社区 发布时间: 20180124
...dy.appendChild(mapDiv); // 适应窗口尺寸 refit(); Laya.stage.on(Laya.Event.RESIZE, this, refit); // 初始化地图 map = new BMap.Map(mapDiv); // 禁用部分交互 //map.disableDragging(); map.disableKeyboard(); map.disableScrollWheelZoom(); map.disableDoubleClickZoom(); map.disablePinchTo...
来源: Laya2.0_文档 发布时间: 20210715