大约有 426 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0064 秒)
Laya_社区(278) Laya2.0_示例(37) Laya_示例(31) Laya2.0_文档(26) Laya2.0_api(18) laya_api(16) Laya3.0_文档(15) Laya3.0_api(5)
...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); ...
来源: Laya_社区 发布时间: 20180830
...his.width / 2; test.y = this.height / 2; this.addChild(test); test.on(Laya.Event.MOUSE_MOVE, this, (e) => { console.log(e); }); 监听mouse_move事件后,手指在test上滑动,会报错: 附件 : --> 2017-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170806
骨骼Label事件,多接收一次 看了骨骼里的事件数据eventAniArr只有一次,但我函数却收到了2次回调 附件 : --> 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来...
来源: Laya_社区 发布时间: 20180315
...Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not dest...
来源: Laya_社区 发布时间: 20240111
...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...
来源: Laya_社区 发布时间: 20180814
...代码如下: ```java package { import laya.display.Sprite; import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new Htt...
来源: Laya2.0_文档 发布时间: 20210714
为对象创建Laya.Event.MOUSE_UP 和 Laya.Event.CLICK 事件的问题,, 为同一个对象创建Laya.Event.MOUSE_UP 和 Laya.Event.CLICK 事件, 点击对象,松开的时候,先响应MOUSE_UP事件,然后才响应的CLICK事件, 我如何在响应了MOUSE_UP事件以后,不让CLIC...
来源: Laya_社区 发布时间: 20180111
...FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.createBridge(); this.eventListener(); } createBridge() { const startPosX = 250, startPosY = 450; let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let groundBody = new Laya.RigidBody(); groundBody.type = "static"; ground.addCompon...
来源: Laya2.0_示例 发布时间: 20260106
...stSp.graphics.drawCircle(100, 100, 20, null, "ffffff"); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.MouseWheel); this._rootSp.hitArea = new Laya.Rectangle(0, 0, 10000, 10000) this._rootSp.addChild(this.firstSp); Laya.stage.addChild(this._rootSp); } private MouseWheel(e: Laya.Event) { let xs...
来源: Laya_社区 发布时间: 20190314
...用ide设置的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private ...
来源: Laya_社区 发布时间: 20170812